#5D6912#5D6912

#5D6912 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.4% C 0.107 H 117.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5D6912
RGBrgb(93, 105, 18)
HSLhsl(68, 71%, 24%)
HSVhsv(68, 83%, 41%)
CMYKcmyk(11.4%, 0%, 82.9%, 58.8%)
CIE-LABlab(41.96, -16.37, 43.31)
CIE-LCHlch(41.96, 46.30, 110.70°)
OKLaboklab(49.41% -0.0495 0.0946)
OKLCHoklch(49.41% 0.107 117.6)
XYZxyz(9.6752, 12.4741, 2.4702)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6912 #1E1269
analogous
#694A12 #5D6912 #326912
triadic
#5D6912 #125D69 #69125D
tetradic
#5D6912 #12694A #1E1269 #691232
square
#5D6912 #12694A #1E1269 #691232
split-complementary
#5D6912 #123269 #4A1269
monochromatic
#171A04 #2F3509 #5D6912 #8B9D1B #BAD124

Accessibility & contrast

On white

6.01
#5D6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5D6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6912
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6912#FFFFFF#000000##FFFFFF
##5D69121.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6F631A
Tritanopia (blue-blind)
#636359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d6912;
/* rgb */ color: rgb(93, 105, 18);
/* oklch */ color: oklch(49.4% 0.107 117.6);
Tailwind
colors: {
  custom: {
    50: '#8e9359',
    500: '#5d6912',
    950: '#000000',
  },
}
SCSS
$custom: #5d6912;
$custom-light: #8e9359;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6912",
  "rgb": {
    "r": 93,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 68.276,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49407,
    "c": 0.10679,
    "h": 117.6
  },
  "luminance": 0.12474
}

Semantic roles & 50–950 ramp

primary
#5D6912
secondary
#4536A1
accent
#3AED53
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D6912

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

Preview Lab → · Contrast checker → · Palette generator →

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