COLOR INTELLIGENCE

Start with a color. Finish with a decision.

Enter a hex value or choose a starting tool. HexCheck keeps the color connected as you inspect it, test it, build with it, or apply it in a real-world workflow.

COLOR UTILITY
#

This color has a permanent URL:

RGB
HSL
Luminance
Best text

Readable text

· Open Contrast Lab
White text
Black text

Related colors

Build a palette
#1B8E2D

COLOR ENCYCLOPEDIA

#1B8E2D color values and accessibility

#1B8E2D is a dark vivid green color. Its RGB value is 27, 142, 45, and its HSL value is 129°, 68%, 33%. Use the values below to move the same color between web code, accessibility checks, palettes, and gradients.

HEX#1B8E2D
RGBrgb(27, 142, 45)
HSLhsl(129 68% 33%)
Relative luminance0.1977

Contrast with black and white

On #1B8E2D, black text provides the stronger black-or-white contrast. WCAG contrast still depends on the actual foreground, background, text size, and component being evaluated.

White · 4.24:1AA normal: Fail · AAA normal: Fail
Black · 4.95:1AA normal: Pass · AAA normal: Fail

For WCAG 2.x, normal text uses 4.5:1 for AA and 7:1 for AAA. Qualifying large text uses 3:1 for AA and 4.5:1 for AAA.

Quick tints and shades

These references are simple RGB mixes with white or black. They are useful starting points for exploration, not a substitute for perceptual palette tuning or contrast testing.

#3D9F4D
#5FB06C
#177926
#136320

Use #1B8E2D in CSS

HEX, RGB, and HSL represent the same encoded sRGB color in different notations. Choose the form that fits the code or design system you are working in.

color: #1B8E2D;
background-color: #1B8E2D;
--color-reference: #1B8E2D;

What the luminance tells you

Relative luminance is the WCAG calculation used to derive contrast ratio. #1B8E2D has a relative luminance of 0.1977 on the 0-to-1 scale. That is why its contrast is 4.24:1 against white and 4.95:1 against black.

Common questions about #1B8E2D

What is #1B8E2D in RGB?

#1B8E2D is rgb(27, 142, 45).

What is #1B8E2D in HSL?

#1B8E2D is hsl(129 68% 33%).

Should I use black or white text on #1B8E2D?

Black has the stronger contrast of the two: black is 4.95:1 and white is 4.24:1. Check the applicable WCAG target and the real interface context before finalizing the text color.

HEXCHECK

Choose the next color task

Match this color to a room surface

Paint references
Open Paint Match

See this color under different light

Daylight and bulbs
Open Lighting Simulator

Apply this color to a complete room

Walls, trim, and surfaces
Open Room Preview

Coordinate this color with materials

Wood, stone, metal, and textile
Open Material Colors

Compare complexion direction

Complexion analysis
Open Undertone

Build an outfit around this color

Role-based styling
Open Outfit Palette

Browse curated color systems

Brands and systems
Open Color Collections

Build a gradient

Pro feature preview
Open Gradient Studio

Build a complete palette

Pro feature preview
Open Palette Studio

Pick from a camera or image

Pro feature preview
Open Image & Camera Picker

Developer formats · Pro

Values and copy unlock with Pro

Accessibility

WCAG contrast
White text
Black text
Open Contrast Lab

Developer export · Pro

Ready to paste
Upgrade to Pro to unlock developer exports.

Saved colors · Pro

Upgrade to Pro to save colors.

Recent colors · Pro

Upgrade to Pro to keep color history.