#5E6D12#5E6D12

#5E6D12 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.5% C 0.111 H 119.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5E6D12
RGBrgb(94, 109, 18)
HSLhsl(70, 72%, 25%)
HSVhsv(70, 83%, 43%)
CMYKcmyk(13.8%, 0%, 83.5%, 57.3%)
CIE-LABlab(43.30, -18.05, 44.55)
CIE-LCHlch(43.30, 48.07, 112.06°)
OKLaboklab(50.51% -0.0542 0.0972)
OKLCHoklch(50.51% 0.111 119.1)
XYZxyz(10.1941, 13.3607, 2.6140)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6D12 #21126D
analogous
#6D4F12 #5E6D12 #316D12
triadic
#5E6D12 #125E6D #6D125E
tetradic
#5E6D12 #126D4F #21126D #6D1231
square
#5E6D12 #126D4F #21126D #6D1231
split-complementary
#5E6D12 #12316D #4F126D
monochromatic
#171A04 #313809 #5E6D12 #8BA21B #B9D623

Accessibility & contrast

On white

5.72
#5E6D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5E6D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6D12
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6D12#FFFFFF#000000##FFFFFF
##5E6D121.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#73671B
Tritanopia (blue-blind)
#64675C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e6d12;
/* rgb */ color: rgb(94, 109, 18);
/* oklch */ color: oklch(50.5% 0.111 119.1);
Tailwind
colors: {
  custom: {
    50: '#8f9659',
    500: '#5e6d12',
    950: '#000000',
  },
}
SCSS
$custom: #5e6d12;
$custom-light: #8f9659;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6d12",
  "rgb": {
    "r": 94,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 69.89,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50507,
    "c": 0.1113,
    "h": 119.1
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#5E6D12
secondary
#4937A4
accent
#39EE57
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6D12

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

Preview Lab → · Contrast checker → · Palette generator →

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