#5E6B13#5E6B13

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

Color values

HEX#5E6B13
RGBrgb(94, 107, 19)
HSLhsl(69, 70%, 25%)
HSVhsv(69, 82%, 42%)
CMYKcmyk(12.1%, 0%, 82.2%, 58%)
CIE-LABlab(42.68, -16.94, 43.66)
CIE-LCHlch(42.68, 46.83, 111.20°)
OKLaboklab(50.01% -0.051 0.0955)
OKLCHoklch(50.01% 0.108 118.1)
XYZxyz(9.9916, 12.9422, 2.5877)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6B13 #20136B
analogous
#6B4C13 #5E6B13 #326B13
triadic
#5E6B13 #135E6B #6B135E
tetradic
#5E6B13 #136B4C #20136B #6B1332
square
#5E6B13 #136B4C #20136B #6B1332
split-complementary
#5E6B13 #13326B #4C136B
monochromatic
#171A05 #30370A #5E6B13 #8C9F1C #B9D325

Accessibility & contrast

On white

5.85
#5E6B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5E6B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6B13
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6B13#FFFFFF#000000##FFFFFF
##5E6B131.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#64655B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e6b13;
/* rgb */ color: rgb(94, 107, 19);
/* oklch */ color: oklch(50.0% 0.108 118.1);
Tailwind
colors: {
  custom: {
    50: '#8f955a',
    500: '#5e6b13',
    950: '#000000',
  },
}
SCSS
$custom: #5e6b13;
$custom-light: #8f955a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6b13",
  "rgb": {
    "r": 94,
    "g": 107,
    "b": 19
  },
  "hsl": {
    "h": 68.864,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.50005,
    "c": 0.1083,
    "h": 118.1
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#5E6B13
secondary
#4738A2
accent
#3BED55
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6B13

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

Preview Lab → · Contrast checker → · Palette generator →

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