#5E6A13#5E6A13

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

Color values

HEX#5E6A13
RGBrgb(94, 106, 19)
HSLhsl(68, 70%, 25%)
HSVhsv(68, 82%, 42%)
CMYKcmyk(11.3%, 0%, 82.1%, 58.4%)
CIE-LABlab(42.36, -16.40, 43.38)
CIE-LCHlch(42.36, 46.37, 110.71°)
OKLaboklab(49.75% -0.0495 0.0949)
OKLCHoklch(49.75% 0.107 117.6)
XYZxyz(9.8879, 12.7349, 2.5532)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6A13 #1F136A
analogous
#6A4B13 #5E6A13 #336A13
triadic
#5E6A13 #135E6A #6A135E
tetradic
#5E6A13 #136A4B #1F136A #6A1333
square
#5E6A13 #136A4B #1F136A #6A1333
split-complementary
#5E6A13 #13336A #4B136A
monochromatic
#171A05 #30360A #5E6A13 #8C9E1C #BAD226

Accessibility & contrast

On white

5.92
#5E6A13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5E6A13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6A13
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6A13#FFFFFF#000000##FFFFFF
##5E6A131.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e6a13;
/* rgb */ color: rgb(94, 106, 19);
/* oklch */ color: oklch(49.8% 0.107 117.6);
Tailwind
colors: {
  custom: {
    50: '#8f9459',
    500: '#5e6a13',
    950: '#000000',
  },
}
SCSS
$custom: #5e6a13;
$custom-light: #8f9459;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6a13",
  "rgb": {
    "r": 94,
    "g": 106,
    "b": 19
  },
  "hsl": {
    "h": 68.276,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49751,
    "c": 0.10708,
    "h": 117.6
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#5E6A13
secondary
#4638A1
accent
#3BEC54
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6A13

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

Preview Lab → · Contrast checker → · Palette generator →

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