#5E7210#5E7210

#5E7210 is a mid, moderate yellow-green. Relative luminance 0.145; OKLCH L 51.8% C 0.118 H 121.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5E7210
RGBrgb(94, 114, 16)
HSLhsl(72, 75%, 25%)
HSVhsv(72, 86%, 45%)
CMYKcmyk(17.5%, 0%, 86%, 55.3%)
CIE-LABlab(44.87, -20.76, 46.53)
CIE-LCHlch(44.87, 50.95, 114.04°)
OKLaboklab(51.77% -0.0617 0.1011)
OKLCHoklch(51.77% 0.118 121.4)
XYZxyz(10.7271, 14.4517, 2.7144)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7210 #241072
analogous
#725510 #5E7210 #2D7210
triadic
#5E7210 #105E72 #72105E
tetradic
#5E7210 #107255 #241072 #72102D
square
#5E7210 #107255 #241072 #72102D
split-complementary
#5E7210 #102D72 #551072
monochromatic
#161B04 #323C08 #5E7210 #8AA818 #B7DD1F

Accessibility & contrast

On white

5.40
#5E7210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5E7210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7210
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7210#FFFFFF#000000##FFFFFF
##5E72101.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#776A1B
Tritanopia (blue-blind)
#646C61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e7210;
/* rgb */ color: rgb(94, 114, 16);
/* oklch */ color: oklch(51.8% 0.118 121.4);
Tailwind
colors: {
  custom: {
    50: '#8f9a59',
    500: '#5e7210',
    950: '#000000',
  },
}
SCSS
$custom: #5e7210;
$custom-light: #8f9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7210",
  "rgb": {
    "r": 94,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 72.245,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.51772,
    "c": 0.11844,
    "h": 121.4
  },
  "luminance": 0.14452
}

Semantic roles & 50–950 ramp

primary
#5E7210
secondary
#4C34A9
accent
#36F25C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7210

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

Preview Lab → · Contrast checker → · Palette generator →

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