#5E6E12#5E6E12

#5E6E12 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.8% C 0.113 H 119.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5E6E12
RGBrgb(94, 110, 18)
HSLhsl(70, 72%, 25%)
HSVhsv(70, 84%, 43%)
CMYKcmyk(14.5%, 0%, 83.6%, 56.9%)
CIE-LABlab(43.62, -18.58, 44.83)
CIE-LCHlch(43.62, 48.53, 112.51°)
OKLaboklab(50.76% -0.0556 0.0978)
OKLCHoklch(50.76% 0.113 119.6)
XYZxyz(10.3014, 13.5753, 2.6498)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6E12 #22126E
analogous
#6E5012 #5E6E12 #306E12
triadic
#5E6E12 #125E6E #6E125E
tetradic
#5E6E12 #126E50 #22126E #6E1230
square
#5E6E12 #126E50 #22126E #6E1230
split-complementary
#5E6E12 #12306E #50126E
monochromatic
#161A04 #313909 #5E6E12 #8BA31B #B8D723

Accessibility & contrast

On white

5.65
#5E6E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5E6E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6E12
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6E12#FFFFFF#000000##FFFFFF
##5E6E121.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#74671B
Tritanopia (blue-blind)
#64685D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e6e12;
/* rgb */ color: rgb(94, 110, 18);
/* oklch */ color: oklch(50.8% 0.113 119.6);
Tailwind
colors: {
  custom: {
    50: '#8f975a',
    500: '#5e6e12',
    950: '#000000',
  },
}
SCSS
$custom: #5e6e12;
$custom-light: #8f975a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6e12",
  "rgb": {
    "r": 94,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 70.435,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50761,
    "c": 0.11253,
    "h": 119.6
  },
  "luminance": 0.13575
}

Semantic roles & 50–950 ramp

primary
#5E6E12
secondary
#4A37A5
accent
#39EF59
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6E12

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

Preview Lab → · Contrast checker → · Palette generator →

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