#5E5914#5E5914

#5E5914 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.5% C 0.087 H 105.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5E5914
RGBrgb(94, 89, 20)
HSLhsl(56, 65%, 22%)
HSVhsv(56, 79%, 37%)
CMYKcmyk(0%, 5.3%, 78.7%, 63.1%)
CIE-LABlab(37.07, -6.78, 38.10)
CIE-LCHlch(37.07, 38.70, 100.09°)
OKLaboklab(45.52% -0.0227 0.0839)
OKLCHoklch(45.52% 0.087 105.1)
XYZxyz(8.3151, 9.5753, 2.0719)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5914 #14195E
analogous
#5E3414 #5E5914 #3E5E14
triadic
#5E5914 #145E59 #59145E
tetradic
#5E5914 #145E34 #14195E #5E143E
square
#5E5914 #145E34 #14195E #5E143E
split-complementary
#5E5914 #143E5E #34145E
monochromatic
#191805 #2C2909 #5E5914 #90891F #C3B929

Accessibility & contrast

On white

7.20
#5E5914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5E5914 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5914
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5914#FFFFFF#000000##FFFFFF
##5E59141.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615607
Deuteranopia (green-blind)
#635919
Tritanopia (blue-blind)
#66524C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e5914;
/* rgb */ color: rgb(94, 89, 20);
/* oklch */ color: oklch(45.5% 0.087 105.1);
Tailwind
colors: {
  custom: {
    50: '#8e8757',
    500: '#5e5914',
    950: '#000000',
  },
}
SCSS
$custom: #5e5914;
$custom-light: #8e8757;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5914",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 20
  },
  "hsl": {
    "h": 55.946,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45517,
    "c": 0.08696,
    "h": 105.1
  },
  "luminance": 0.09575
}

Semantic roles & 50–950 ramp

primary
#5E5914
secondary
#383E96
accent
#4BE840
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5914

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

Preview Lab → · Contrast checker → · Palette generator →

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