#5D6D12#5D6D12

#5D6D12 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.4% C 0.112 H 119.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5D6D12
RGBrgb(93, 109, 18)
HSLhsl(71, 72%, 25%)
HSVhsv(71, 83%, 43%)
CMYKcmyk(14.7%, 0%, 83.5%, 57.3%)
CIE-LABlab(43.22, -18.51, 44.45)
CIE-LCHlch(43.22, 48.15, 112.61°)
OKLaboklab(50.43% -0.0554 0.0971)
OKLCHoklch(50.43% 0.112 119.7)
XYZxyz(10.0922, 13.3082, 2.6092)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6D12 #22126D
analogous
#6D4F12 #5D6D12 #306D12
triadic
#5D6D12 #125D6D #6D125D
tetradic
#5D6D12 #126D4F #22126D #6D1230
square
#5D6D12 #126D4F #22126D #6D1230
split-complementary
#5D6D12 #12306D #4F126D
monochromatic
#161A04 #303809 #5D6D12 #8AA21B #B7D623

Accessibility & contrast

On white

5.74
#5D6D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5D6D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6D12
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6D12#FFFFFF#000000##FFFFFF
##5D6D121.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#73661B
Tritanopia (blue-blind)
#63675C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d6d12;
/* rgb */ color: rgb(93, 109, 18);
/* oklch */ color: oklch(50.4% 0.112 119.7);
Tailwind
colors: {
  custom: {
    50: '#8e9659',
    500: '#5d6d12',
    950: '#000000',
  },
}
SCSS
$custom: #5d6d12;
$custom-light: #8e9659;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6d12",
  "rgb": {
    "r": 93,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 70.549,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50425,
    "c": 0.11174,
    "h": 119.7
  },
  "luminance": 0.13308
}

Semantic roles & 50–950 ramp

primary
#5D6D12
secondary
#4A37A4
accent
#39EE59
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5D6D12

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

Preview Lab → · Contrast checker → · Palette generator →

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