#5D6A12#5D6A12

#5D6A12 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.7% C 0.108 H 118.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5D6A12
RGBrgb(93, 106, 18)
HSLhsl(69, 71%, 24%)
HSVhsv(69, 83%, 42%)
CMYKcmyk(12.3%, 0%, 83%, 58.4%)
CIE-LABlab(42.28, -16.91, 43.60)
CIE-LCHlch(42.28, 46.76, 111.20°)
OKLaboklab(49.66% -0.051 0.0952)
OKLCHoklch(49.66% 0.108 118.1)
XYZxyz(9.7777, 12.6790, 2.5044)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6A12 #1F126A
analogous
#6A4B12 #5D6A12 #316A12
triadic
#5D6A12 #125D6A #6A125D
tetradic
#5D6A12 #126A4B #1F126A #6A1231
square
#5D6A12 #126A4B #1F126A #6A1231
split-complementary
#5D6A12 #12316A #4B126A
monochromatic
#171A04 #2F3609 #5D6A12 #8B9E1B #B9D324

Accessibility & contrast

On white

5.94
#5D6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5D6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6A12
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6A12#FFFFFF#000000##FFFFFF
##5D6A121.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#70641B
Tritanopia (blue-blind)
#63645A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d6a12;
/* rgb */ color: rgb(93, 106, 18);
/* oklch */ color: oklch(49.7% 0.108 118.1);
Tailwind
colors: {
  custom: {
    50: '#8e9459',
    500: '#5d6a12',
    950: '#000000',
  },
}
SCSS
$custom: #5d6a12;
$custom-light: #8e9459;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6a12",
  "rgb": {
    "r": 93,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 68.864,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49661,
    "c": 0.10802,
    "h": 118.1
  },
  "luminance": 0.12679
}

Semantic roles & 50–950 ramp

primary
#5D6A12
secondary
#4636A2
accent
#3AEE55
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5D6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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