#5E7F16#5E7F16

#5E7F16 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.1% C 0.132 H 126.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5E7F16
RGBrgb(94, 127, 22)
HSLhsl(79, 70%, 29%)
HSVhsv(79, 83%, 50%)
CMYKcmyk(26%, 0%, 82.7%, 50.2%)
CIE-LABlab(49.03, -27.04, 48.47)
CIE-LCHlch(49.03, 55.50, 119.15°)
OKLaboklab(55.14% -0.0784 0.1063)
OKLCHoklch(55.14% 0.132 126.4)
XYZxyz(12.3504, 17.6161, 3.5085)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7F16 #37167F
analogous
#7F6C16 #5E7F16 #2A7F16
triadic
#5E7F16 #165E7F #7F165E
tetradic
#5E7F16 #167F6C #37167F #7F162A
square
#5E7F16 #167F6C #37167F #7F162A
split-complementary
#5E7F16 #162A7F #6C167F
monochromatic
#131A05 #374B0D #5E7F16 #85B31F #A7DC34

Accessibility & contrast

On white

4.64
#5E7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5E7F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7F16
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7F16#FFFFFF#000000##FFFFFF
##5E7F161.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#62796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e7f16;
/* rgb */ color: rgb(94, 127, 22);
/* oklch */ color: oklch(55.1% 0.132 126.4);
Tailwind
colors: {
  custom: {
    50: '#8fa45e',
    500: '#5e7f16',
    950: '#000000',
  },
}
SCSS
$custom: #5e7f16;
$custom-light: #8fa45e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7f16",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 78.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55144,
    "c": 0.13204,
    "h": 126.4
  },
  "luminance": 0.17616
}

Semantic roles & 50–950 ramp

primary
#5E7F16
secondary
#623DB4
accent
#3BED73
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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