#5E6F12#5E6F12

#5E6F12 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 51.0% C 0.114 H 120.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5E6F12
RGBrgb(94, 111, 18)
HSLhsl(71, 72%, 25%)
HSVhsv(71, 84%, 44%)
CMYKcmyk(15.3%, 0%, 83.8%, 56.5%)
CIE-LABlab(43.93, -19.11, 45.11)
CIE-LCHlch(43.93, 48.99, 112.96°)
OKLaboklab(51.02% -0.0571 0.0984)
OKLCHoklch(51.02% 0.114 120.1)
XYZxyz(10.4099, 13.7923, 2.6859)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6F12 #23126F
analogous
#6F5212 #5E6F12 #2F6F12
triadic
#5E6F12 #125E6F #6F125E
tetradic
#5E6F12 #126F52 #23126F #6F122F
square
#5E6F12 #126F52 #23126F #6F122F
split-complementary
#5E6F12 #122F6F #52126F
monochromatic
#161A04 #313A09 #5E6F12 #8BA41B #B7D823

Accessibility & contrast

On white

5.59
#5E6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5E6F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6F12
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6F12#FFFFFF#000000##FFFFFF
##5E6F121.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#64695E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e6f12;
/* rgb */ color: rgb(94, 111, 18);
/* oklch */ color: oklch(51.0% 0.114 120.1);
Tailwind
colors: {
  custom: {
    50: '#8f985a',
    500: '#5e6f12',
    950: '#000000',
  },
}
SCSS
$custom: #5e6f12;
$custom-light: #8f985a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6f12",
  "rgb": {
    "r": 94,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 70.968,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51016,
    "c": 0.11377,
    "h": 120.1
  },
  "luminance": 0.13792
}

Semantic roles & 50–950 ramp

primary
#5E6F12
secondary
#4B37A6
accent
#39EF5A
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6F12

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

Preview Lab → · Contrast checker → · Palette generator →

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