#5E7D16#5E7D16

#5E7D16 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.6% C 0.129 H 125.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5E7D16
RGBrgb(94, 125, 22)
HSLhsl(78, 70%, 29%)
HSVhsv(78, 82%, 49%)
CMYKcmyk(24.8%, 0%, 82.4%, 51%)
CIE-LABlab(48.39, -26.06, 47.90)
CIE-LCHlch(48.39, 54.53, 118.55°)
OKLaboklab(54.63% -0.0757 0.1051)
OKLCHoklch(54.63% 0.129 125.8)
XYZxyz(12.0946, 17.1047, 3.4232)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7D16 #35167D
analogous
#7D6916 #5E7D16 #2B7D16
triadic
#5E7D16 #165E7D #7D165E
tetradic
#5E7D16 #167D69 #35167D #7D162B
square
#5E7D16 #167D69 #35167D #7D162B
split-complementary
#5E7D16 #162B7D #69167D
monochromatic
#141A05 #37490D #5E7D16 #85B11F #A8DB32

Accessibility & contrast

On white

4.75
#5E7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5E7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7D16
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7D16#FFFFFF#000000##FFFFFF
##5E7D161.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#807221
Tritanopia (blue-blind)
#62776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e7d16;
/* rgb */ color: rgb(94, 125, 22);
/* oklch */ color: oklch(54.6% 0.129 125.8);
Tailwind
colors: {
  custom: {
    50: '#8fa25e',
    500: '#5e7d16',
    950: '#000000',
  },
}
SCSS
$custom: #5e7d16;
$custom-light: #8fa25e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7d16",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 78.058,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54628,
    "c": 0.12949,
    "h": 125.8
  },
  "luminance": 0.17105
}

Semantic roles & 50–950 ramp

primary
#5E7D16
secondary
#603DB2
accent
#3BED70
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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