#5D6F12#5D6F12

#5D6F12 is a mid, moderate yellow-green. Relative luminance 0.137; OKLCH L 50.9% C 0.114 H 120.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5D6F12
RGBrgb(93, 111, 18)
HSLhsl(72, 72%, 25%)
HSVhsv(72, 84%, 44%)
CMYKcmyk(16.2%, 0%, 83.8%, 56.5%)
CIE-LABlab(43.86, -19.56, 45.02)
CIE-LCHlch(43.86, 49.08, 113.49°)
OKLaboklab(50.93% -0.0582 0.0983)
OKLCHoklch(50.93% 0.114 120.7)
XYZxyz(10.3080, 13.7397, 2.6811)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6F12 #24126F
analogous
#6F5212 #5D6F12 #2E6F12
triadic
#5D6F12 #125D6F #6F125D
tetradic
#5D6F12 #126F52 #24126F #6F122E
square
#5D6F12 #126F52 #24126F #6F122E
split-complementary
#5D6F12 #122E6F #52126F
monochromatic
#161A04 #313A09 #5D6F12 #89A41B #B5D823

Accessibility & contrast

On white

5.60
#5D6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5D6F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6F12
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6F12#FFFFFF#000000##FFFFFF
##5D6F121.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#74681C
Tritanopia (blue-blind)
#63695E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d6f12;
/* rgb */ color: rgb(93, 111, 18);
/* oklch */ color: oklch(50.9% 0.114 120.7);
Tailwind
colors: {
  custom: {
    50: '#8e985a',
    500: '#5d6f12',
    950: '#000000',
  },
}
SCSS
$custom: #5d6f12;
$custom-light: #8e985a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6f12",
  "rgb": {
    "r": 93,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 71.613,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50935,
    "c": 0.11423,
    "h": 120.7
  },
  "luminance": 0.1374
}

Semantic roles & 50–950 ramp

primary
#5D6F12
secondary
#4C37A6
accent
#39EF5C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5D6F12

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

Preview Lab → · Contrast checker → · Palette generator →

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