#5E600F#5E600F

#5E600F is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.2% C 0.097 H 111.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5E600F
RGBrgb(94, 96, 15)
HSLhsl(61, 73%, 22%)
HSVhsv(61, 84%, 38%)
CMYKcmyk(2.1%, 0%, 84.4%, 62.4%)
CIE-LABlab(39.21, -11.04, 41.85)
CIE-LCHlch(39.21, 43.28, 104.77°)
OKLaboklab(47.22% -0.0351 0.0909)
OKLCHoklch(47.22% 0.097 111.1)
XYZxyz(8.8855, 10.7802, 2.0646)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E600F #110F60
analogous
#603A0F #5E600F #36600F
triadic
#5E600F #0F5E60 #600F5E
tetradic
#5E600F #0F603A #110F60 #600F36
square
#5E600F #0F603A #110F60 #600F36
split-complementary
#5E600F #0F3660 #3A0F60
monochromatic
#1A1A04 #2A2B07 #5E600F #929517 #C6CA20

Accessibility & contrast

On white

6.65
#5E600F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5E600F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E600F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E600F#FFFFFF#000000##FFFFFF
##5E600F1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#695D17
Tritanopia (blue-blind)
#655951
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e600f;
/* rgb */ color: rgb(94, 96, 15);
/* oklch */ color: oklch(47.2% 0.097 111.1);
Tailwind
colors: {
  custom: {
    50: '#8f8c56',
    500: '#5e600f',
    950: '#000000',
  },
}
SCSS
$custom: #5e600f;
$custom-light: #8f8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#5e600f",
  "rgb": {
    "r": 94,
    "g": 96,
    "b": 15
  },
  "hsl": {
    "h": 61.481,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.47215,
    "c": 0.09742,
    "h": 111.1
  },
  "luminance": 0.1078
}

Semantic roles & 50–950 ramp

primary
#5E600F
secondary
#343299
accent
#38F03D
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E600F

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

Preview Lab → · Contrast checker → · Palette generator →

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