#5E5915#5E5915

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

Color values

HEX#5E5915
RGBrgb(94, 89, 21)
HSLhsl(56, 63%, 23%)
HSVhsv(56, 78%, 37%)
CMYKcmyk(0%, 5.3%, 77.7%, 63.1%)
CIE-LABlab(37.08, -6.73, 37.71)
CIE-LCHlch(37.08, 38.30, 100.12°)
OKLaboklab(45.52% -0.0224 0.0833)
OKLCHoklch(45.52% 0.086 105.1)
XYZxyz(8.3242, 9.5789, 2.1198)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5915 #151A5E
analogous
#5E3415 #5E5915 #3F5E15
triadic
#5E5915 #155E59 #59155E
tetradic
#5E5915 #155E34 #151A5E #5E153F
square
#5E5915 #155E34 #151A5E #5E153F
split-complementary
#5E5915 #153F5E #34155E
monochromatic
#191806 #2C2A0A #5E5915 #908820 #C2B82B

Accessibility & contrast

On white

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

On black

2.92
#5E5915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E5915#FFFFFF#000000##FFFFFF
##5E59151.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615609
Deuteranopia (green-blind)
#63591A
Tritanopia (blue-blind)
#66524C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e5915;
/* rgb */ color: rgb(94, 89, 21);
/* oklch */ color: oklch(45.5% 0.086 105.1);
Tailwind
colors: {
  custom: {
    50: '#8e8758',
    500: '#5e5915',
    950: '#000000',
  },
}
SCSS
$custom: #5e5915;
$custom-light: #8e8758;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5915",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 55.89,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45524,
    "c": 0.08628,
    "h": 105.1
  },
  "luminance": 0.09579
}

Semantic roles & 50–950 ramp

primary
#5E5915
secondary
#394095
accent
#4DE741
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5915

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

Preview Lab → · Contrast checker → · Palette generator →

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