#5E6018#5E6018

#5E6018 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.3% C 0.092 H 111.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5E6018
RGBrgb(94, 96, 24)
HSLhsl(62, 60%, 24%)
HSVhsv(62, 75%, 38%)
CMYKcmyk(2.1%, 0%, 75%, 62.4%)
CIE-LABlab(39.26, -10.60, 38.60)
CIE-LCHlch(39.26, 40.03, 105.36°)
OKLaboklab(47.28% -0.033 0.0858)
OKLCHoklch(47.28% 0.092 111)
XYZxyz(8.9641, 10.8116, 2.4786)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6018 #1A1860
analogous
#603E18 #5E6018 #3A6018
triadic
#5E6018 #185E60 #60185E
tetradic
#5E6018 #18603E #1A1860 #60183A
square
#5E6018 #18603E #1A1860 #60183A
split-complementary
#5E6018 #183A60 #3E1860
monochromatic
#181806 #2E2F0C #5E6018 #8E9124 #BEC230

Accessibility & contrast

On white

6.64
#5E6018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E6018
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6018#FFFFFF#000000##FFFFFF
##5E60181.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0C
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#655A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e6018;
/* rgb */ color: rgb(94, 96, 24);
/* oklch */ color: oklch(47.3% 0.092 111.0);
Tailwind
colors: {
  custom: {
    50: '#8e8d5a',
    500: '#5e6018',
    950: '#000000',
  },
}
SCSS
$custom: #5e6018;
$custom-light: #8e8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6018",
  "rgb": {
    "r": 94,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 61.667,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47275,
    "c": 0.0919,
    "h": 111
  },
  "luminance": 0.10811
}

Semantic roles & 50–950 ramp

primary
#5E6018
secondary
#403D96
accent
#45E349
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5E6018

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

Preview Lab → · Contrast checker → · Palette generator →

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