#5D6C12#5D6C12

#5D6C12 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.2% C 0.110 H 119.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5D6C12
RGBrgb(93, 108, 18)
HSLhsl(70, 71%, 25%)
HSVhsv(70, 83%, 42%)
CMYKcmyk(13.9%, 0%, 83.3%, 57.6%)
CIE-LABlab(42.91, -17.98, 44.17)
CIE-LCHlch(42.91, 47.68, 112.15°)
OKLaboklab(50.17% -0.0539 0.0964)
OKLCHoklch(50.17% 0.11 119.2)
XYZxyz(9.9862, 13.0960, 2.5739)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6C12 #21126C
analogous
#6C4E12 #5D6C12 #306C12
triadic
#5D6C12 #125D6C #6C125D
tetradic
#5D6C12 #126C4E #21126C #6C1230
square
#5D6C12 #126C4E #21126C #6C1230
split-complementary
#5D6C12 #12306C #4E126C
monochromatic
#171A04 #303809 #5D6C12 #8AA01B #B7D523

Accessibility & contrast

On white

5.80
#5D6C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5D6C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6C12
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6C12#FFFFFF#000000##FFFFFF
##5D6C121.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#72661B
Tritanopia (blue-blind)
#63665C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d6c12;
/* rgb */ color: rgb(93, 108, 18);
/* oklch */ color: oklch(50.2% 0.110 119.2);
Tailwind
colors: {
  custom: {
    50: '#8e9659',
    500: '#5d6c12',
    950: '#000000',
  },
}
SCSS
$custom: #5d6c12;
$custom-light: #8e9659;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6c12",
  "rgb": {
    "r": 93,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 70,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.5017,
    "c": 0.11049,
    "h": 119.2
  },
  "luminance": 0.13096
}

Semantic roles & 50–950 ramp

primary
#5D6C12
secondary
#4936A3
accent
#3AEE58
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5D6C12

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

Preview Lab → · Contrast checker → · Palette generator →

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