#5E5F19#5E5F19

#5E5F19 is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 47.0% C 0.090 H 110.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5E5F19
RGBrgb(94, 95, 25)
HSLhsl(61, 58%, 24%)
HSVhsv(61, 74%, 37%)
CMYKcmyk(1.1%, 0%, 73.7%, 62.7%)
CIE-LABlab(38.96, -9.97, 37.88)
CIE-LCHlch(38.96, 39.17, 104.75°)
OKLaboklab(47.04% -0.0311 0.0845)
OKLCHoklch(47.04% 0.09 110.2)
XYZxyz(8.8841, 10.6345, 2.5042)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5F19 #1A195F
analogous
#5F3D19 #5E5F19 #3B5F19
triadic
#5E5F19 #195E5F #5F195E
tetradic
#5E5F19 #195F3D #1A195F #5F193B
square
#5E5F19 #195F3D #1A195F #5F193B
split-complementary
#5E5F19 #193B5F #3D195F
monochromatic
#181806 #2E2F0C #5E5F19 #8E8F26 #BEC032

Accessibility & contrast

On white

6.72
#5E5F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5E5F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5F19
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5F19#FFFFFF#000000##FFFFFF
##5E5F191.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0E
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#655951
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e5f19;
/* rgb */ color: rgb(94, 95, 25);
/* oklch */ color: oklch(47.0% 0.090 110.2);
Tailwind
colors: {
  custom: {
    50: '#8e8c5b',
    500: '#5e5f19',
    950: '#000000',
  },
}
SCSS
$custom: #5e5f19;
$custom-light: #8e8c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5f19",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 25
  },
  "hsl": {
    "h": 60.857,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47035,
    "c": 0.09001,
    "h": 110.2
  },
  "luminance": 0.10634
}

Semantic roles & 50–950 ramp

primary
#5E5F19
secondary
#403F95
accent
#46E248
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5E5F19

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

Preview Lab → · Contrast checker → · Palette generator →

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