#5E7E1F#5E7E1F

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

Color values

HEX#5E7E1F
RGBrgb(94, 126, 31)
HSLhsl(80, 61%, 31%)
HSVhsv(80, 75%, 49%)
CMYKcmyk(25.4%, 0%, 75.4%, 50.6%)
CIE-LABlab(48.76, -26.07, 45.14)
CIE-LCHlch(48.76, 52.13, 120.00°)
OKLaboklab(54.94% -0.075 0.1008)
OKLCHoklch(54.94% 0.126 126.7)
XYZxyz(12.3243, 17.4001, 4.0053)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7E1F #3F1F7E
analogous
#7E6E1F #5E7E1F #2E7E1F
triadic
#5E7E1F #1F5E7E #7E1F5E
tetradic
#5E7E1F #1F7E6E #3F1F7E #7E1F2E
square
#5E7E1F #1F7E6E #3F1F7E #7E1F2E
split-complementary
#5E7E1F #1F2E7E #6E1F7E
monochromatic
#151C07 #394D13 #5E7E1F #83AF2B #A2D146

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7E1F#FFFFFF#000000##FFFFFF
##5E7E1F1.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)
#85750D
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#62786C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e7e1f;
/* rgb */ color: rgb(94, 126, 31);
/* oklch */ color: oklch(54.9% 0.126 126.7);
Tailwind
colors: {
  custom: {
    50: '#8fa362',
    500: '#5e7e1f',
    950: '#000000',
  },
}
SCSS
$custom: #5e7e1f;
$custom-light: #8fa362;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7e1f",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 80.211,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54944,
    "c": 0.12565,
    "h": 126.7
  },
  "luminance": 0.174
}

Semantic roles & 50–950 ramp

primary
#5E7E1F
secondary
#6B48B1
accent
#44E47A
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E7E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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