#5E5A13#5E5A13

#5E5A13 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.8% C 0.089 H 106.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5E5A13
RGBrgb(94, 90, 19)
HSLhsl(57, 66%, 22%)
HSVhsv(57, 80%, 37%)
CMYKcmyk(0%, 4.3%, 79.8%, 63.1%)
CIE-LABlab(37.37, -7.42, 38.78)
CIE-LCHlch(37.37, 39.48, 100.83°)
OKLaboklab(45.76% -0.0246 0.0852)
OKLCHoklch(45.76% 0.089 106.1)
XYZxyz(8.3901, 9.7393, 2.0539)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5A13 #13175E
analogous
#5E3513 #5E5A13 #3D5E13
triadic
#5E5A13 #135E5A #5A135E
tetradic
#5E5A13 #135E35 #13175E #5E133D
square
#5E5A13 #135E35 #13175E #5E133D
split-complementary
#5E5A13 #133D5E #35135E
monochromatic
#191805 #2B2909 #5E5A13 #918B1D #C4BB28

Accessibility & contrast

On white

7.12
#5E5A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5E5A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5A13
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5A13#FFFFFF#000000##FFFFFF
##5E5A131.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625605
Deuteranopia (green-blind)
#645918
Tritanopia (blue-blind)
#66534C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5e5a13;
/* rgb */ color: rgb(94, 90, 19);
/* oklch */ color: oklch(45.8% 0.089 106.1);
Tailwind
colors: {
  custom: {
    50: '#8e8857',
    500: '#5e5a13',
    950: '#000000',
  },
}
SCSS
$custom: #5e5a13;
$custom-light: #8e8857;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5a13",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 56.8,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45755,
    "c": 0.08864,
    "h": 106.1
  },
  "luminance": 0.09739
}

Semantic roles & 50–950 ramp

primary
#5E5A13
secondary
#373C96
accent
#48E93F
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5A13

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

Preview Lab → · Contrast checker → · Palette generator →

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