#5E6B14#5E6B14

#5E6B14 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#5E6B14
RGBrgb(94, 107, 20)
HSLhsl(69, 69%, 25%)
HSVhsv(69, 81%, 42%)
CMYKcmyk(12.1%, 0%, 81.3%, 58%)
CIE-LABlab(42.68, -16.89, 43.33)
CIE-LCHlch(42.68, 46.51, 111.30°)
OKLaboklab(50.01% -0.0508 0.095)
OKLCHoklch(50.01% 0.108 118.1)
XYZxyz(10.0003, 12.9457, 2.6336)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6B14 #21146B
analogous
#6B4D14 #5E6B14 #326B14
triadic
#5E6B14 #145E6B #6B145E
tetradic
#5E6B14 #146B4D #21146B #6B1432
square
#5E6B14 #146B4D #21146B #6B1432
split-complementary
#5E6B14 #14326B #4D146B
monochromatic
#171A05 #31370A #5E6B14 #8B9F1E #B9D227

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E6B14#FFFFFF#000000##FFFFFF
##5E6B141.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: #5e6b14;
/* rgb */ color: rgb(94, 107, 20);
/* oklch */ color: oklch(50.0% 0.108 118.1);
Tailwind
colors: {
  custom: {
    50: '#8f955a',
    500: '#5e6b14',
    950: '#000000',
  },
}
SCSS
$custom: #5e6b14;
$custom-light: #8f955a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6b14",
  "rgb": {
    "r": 94,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 68.966,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.10776,
    "h": 118.1
  },
  "luminance": 0.12946
}

Semantic roles & 50–950 ramp

primary
#5E6B14
secondary
#4939A2
accent
#3CEB57
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6B14

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

Preview Lab → · Contrast checker → · Palette generator →

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