#5E7E1D#5E7E1D

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

Color values

HEX#5E7E1D
RGBrgb(94, 126, 29)
HSLhsl(80, 63%, 30%)
HSVhsv(80, 77%, 49%)
CMYKcmyk(25.4%, 0%, 77%, 50.6%)
CIE-LABlab(48.75, -26.19, 45.87)
CIE-LCHlch(48.75, 52.82, 119.72°)
OKLaboklab(54.93% -0.0755 0.102)
OKLCHoklch(54.93% 0.127 126.5)
XYZxyz(12.2988, 17.3899, 3.8708)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7E1D #3D1D7E
analogous
#7E6D1D #5E7E1D #2D7E1D
triadic
#5E7E1D #1D5E7E #7E1D5E
tetradic
#5E7E1D #1D7E6D #3D1D7E #7E1D2D
square
#5E7E1D #1D7E6D #3D1D7E #7E1D2D
split-complementary
#5E7E1D #1D2D7E #6D1D7E
monochromatic
#141B06 #394C12 #5E7E1D #83B028 #A3D342

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7E1D#FFFFFF#000000##FFFFFF
##5E7E1D1.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)
#857508
Deuteranopia (green-blind)
#817326
Tritanopia (blue-blind)
#62786C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e7e1d;
/* rgb */ color: rgb(94, 126, 29);
/* oklch */ color: oklch(54.9% 0.127 126.5);
Tailwind
colors: {
  custom: {
    50: '#8fa361',
    500: '#5e7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #5e7e1d;
$custom-light: #8fa361;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7e1d",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 79.794,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54929,
    "c": 0.1269,
    "h": 126.5
  },
  "luminance": 0.1739
}

Semantic roles & 50–950 ramp

primary
#5E7E1D
secondary
#6945B1
accent
#42E678
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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