#5D7412#5D7412

#5D7412 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.2% C 0.121 H 122.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5D7412
RGBrgb(93, 116, 18)
HSLhsl(74, 73%, 26%)
HSVhsv(74, 84%, 45%)
CMYKcmyk(19.8%, 0%, 84.5%, 54.5%)
CIE-LABlab(45.44, -22.15, 46.43)
CIE-LCHlch(45.44, 51.45, 115.51°)
OKLaboklab(52.22% -0.0653 0.1013)
OKLCHoklch(52.22% 0.121 122.8)
XYZxyz(10.8689, 14.8616, 2.8681)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7412 #291274
analogous
#745A12 #5D7412 #2C7412
triadic
#5D7412 #125D74 #74125D
tetradic
#5D7412 #12745A #291274 #74122C
square
#5D7412 #12745A #291274 #74122C
split-complementary
#5D7412 #122C74 #5A1274
monochromatic
#151A04 #333F0A #5D7412 #87A91A #B1DD23

Accessibility & contrast

On white

5.29
#5D7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5D7412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7412
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7412#FFFFFF#000000##FFFFFF
##5D74121.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#786B1D
Tritanopia (blue-blind)
#626E62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d7412;
/* rgb */ color: rgb(93, 116, 18);
/* oklch */ color: oklch(52.2% 0.121 122.8);
Tailwind
colors: {
  custom: {
    50: '#8e9c5b',
    500: '#5d7412',
    950: '#000000',
  },
}
SCSS
$custom: #5d7412;
$custom-light: #8e9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7412",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 74.082,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.12051,
    "h": 122.8
  },
  "luminance": 0.14862
}

Semantic roles & 50–950 ramp

primary
#5D7412
secondary
#5237AB
accent
#38F063
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7412

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

Preview Lab → · Contrast checker → · Palette generator →

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