#5E5F18#5E5F18

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

Color values

HEX#5E5F18
RGBrgb(94, 95, 24)
HSLhsl(61, 60%, 23%)
HSVhsv(61, 75%, 37%)
CMYKcmyk(1.1%, 0%, 74.7%, 62.7%)
CIE-LABlab(38.95, -10.03, 38.29)
CIE-LCHlch(38.95, 39.58, 104.68°)
OKLaboklab(47.03% -0.0314 0.0851)
OKLCHoklch(47.03% 0.091 110.2)
XYZxyz(8.8735, 10.6303, 2.4484)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5F18 #19185F
analogous
#5F3C18 #5E5F18 #3A5F18
triadic
#5E5F18 #185E5F #5F185E
tetradic
#5E5F18 #185F3C #19185F #5F183A
square
#5E5F18 #185F3C #19185F #5F183A
split-complementary
#5E5F18 #183A5F #3C185F
monochromatic
#181806 #2E2E0C #5E5F18 #8E9024 #BFC131

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E5F18#FFFFFF#000000##FFFFFF
##5E5F181.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)
#675B0C
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#655951
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e5f18;
/* rgb */ color: rgb(94, 95, 24);
/* oklch */ color: oklch(47.0% 0.091 110.2);
Tailwind
colors: {
  custom: {
    50: '#8e8c5a',
    500: '#5e5f18',
    950: '#000000',
  },
}
SCSS
$custom: #5e5f18;
$custom-light: #8e8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5f18",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 60.845,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47026,
    "c": 0.09074,
    "h": 110.2
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#5E5F18
secondary
#3F3D95
accent
#45E347
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5E5F18

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

Preview Lab → · Contrast checker → · Palette generator →

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