#5E7E1E#5E7E1E

#5E7E1E is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.126 H 126.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5E7E1E
RGBrgb(94, 126, 30)
HSLhsl(80, 62%, 31%)
HSVhsv(80, 76%, 49%)
CMYKcmyk(25.4%, 0%, 76.2%, 50.6%)
CIE-LABlab(48.75, -26.13, 45.51)
CIE-LCHlch(48.75, 52.48, 119.86°)
OKLaboklab(54.94% -0.0753 0.1014)
OKLCHoklch(54.94% 0.126 126.6)
XYZxyz(12.3113, 17.3949, 3.9370)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7E1E #3E1E7E
analogous
#7E6E1E #5E7E1E #2E7E1E
triadic
#5E7E1E #1E5E7E #7E1E5E
tetradic
#5E7E1E #1E7E6E #3E1E7E #7E1E2E
square
#5E7E1E #1E7E6E #3E1E7E #7E1E2E
split-complementary
#5E7E1E #1E2E7E #6E1E7E
monochromatic
#141B06 #394D12 #5E7E1E #83AF2A #A3D244

Accessibility & contrast

On white

4.69
#5E7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5E7E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7E1E
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7E1E#FFFFFF#000000##FFFFFF
##5E7E1E1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750A
Deuteranopia (green-blind)
#817327
Tritanopia (blue-blind)
#62786C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e7e1e;
/* rgb */ color: rgb(94, 126, 30);
/* oklch */ color: oklch(54.9% 0.126 126.6);
Tailwind
colors: {
  custom: {
    50: '#8fa361',
    500: '#5e7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #5e7e1e;
$custom-light: #8fa361;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7e1e",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 80,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54936,
    "c": 0.12628,
    "h": 126.6
  },
  "luminance": 0.17395
}

Semantic roles & 50–950 ramp

primary
#5E7E1E
secondary
#6A47B1
accent
#43E579
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E7E1E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5E7E1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva