#5D6E12#5D6E12

#5D6E12 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.7% C 0.113 H 120.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5D6E12
RGBrgb(93, 110, 18)
HSLhsl(71, 72%, 25%)
HSVhsv(71, 84%, 43%)
CMYKcmyk(15.5%, 0%, 83.6%, 56.9%)
CIE-LABlab(43.54, -19.04, 44.73)
CIE-LCHlch(43.54, 48.62, 113.05°)
OKLaboklab(50.68% -0.0568 0.0977)
OKLCHoklch(50.68% 0.113 120.2)
XYZxyz(10.1995, 13.5227, 2.6450)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6E12 #23126E
analogous
#6E5112 #5D6E12 #2F6E12
triadic
#5D6E12 #125D6E #6E125D
tetradic
#5D6E12 #126E51 #23126E #6E122F
square
#5D6E12 #126E51 #23126E #6E122F
split-complementary
#5D6E12 #122F6E #51126E
monochromatic
#161A04 #313909 #5D6E12 #89A31B #B6D723

Accessibility & contrast

On white

5.67
#5D6E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5D6E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6E12
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6E12#FFFFFF#000000##FFFFFF
##5D6E121.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d6e12;
/* rgb */ color: rgb(93, 110, 18);
/* oklch */ color: oklch(50.7% 0.113 120.2);
Tailwind
colors: {
  custom: {
    50: '#8e975a',
    500: '#5d6e12',
    950: '#000000',
  },
}
SCSS
$custom: #5d6e12;
$custom-light: #8e975a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6e12",
  "rgb": {
    "r": 93,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 71.087,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.5068,
    "c": 0.11298,
    "h": 120.2
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#5D6E12
secondary
#4B37A5
accent
#39EF5B
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5D6E12

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

Preview Lab → · Contrast checker → · Palette generator →

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