#5E5E18#5E5E18

#5E5E18 is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 46.8% C 0.090 H 109.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5E5E18
RGBrgb(94, 94, 24)
HSLhsl(60, 59%, 23%)
HSVhsv(60, 74%, 37%)
CMYKcmyk(0%, 0%, 74.5%, 63.1%)
CIE-LABlab(38.64, -9.46, 37.99)
CIE-LCHlch(38.64, 39.15, 103.99°)
OKLaboklab(46.78% -0.0298 0.0845)
OKLCHoklch(46.78% 0.09 109.4)
XYZxyz(8.7840, 10.4513, 2.4186)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5E18 #18185E
analogous
#5E3B18 #5E5E18 #3B5E18
triadic
#5E5E18 #185E5E #5E185E
tetradic
#5E5E18 #185E3B #18185E #5E183B
square
#5E5E18 #185E3B #18185E #5E183B
split-complementary
#5E5E18 #183B5E #3B185E
monochromatic
#181806 #2D2D0C #5E5E18 #8F8F24 #C0C031

Accessibility & contrast

On white

6.80
#5E5E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5E5E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5E18
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5E18#FFFFFF#000000##FFFFFF
##5E5E181.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0C
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#655850
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e5e18;
/* rgb */ color: rgb(94, 94, 24);
/* oklch */ color: oklch(46.8% 0.090 109.4);
Tailwind
colors: {
  custom: {
    50: '#8e8b5a',
    500: '#5e5e18',
    950: '#000000',
  },
}
SCSS
$custom: #5e5e18;
$custom-light: #8e8b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5e18",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46779,
    "c": 0.08959,
    "h": 109.4
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#5E5E18
secondary
#3D3D94
accent
#45E345
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5E5E18

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

Preview Lab → · Contrast checker → · Palette generator →

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