#5E6115#5E6115

#5E6115 is a mid, moderate yellow. Relative luminance 0.110; OKLCH L 47.5% C 0.095 H 111.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5E6115
RGBrgb(94, 97, 21)
HSLhsl(62, 64%, 23%)
HSVhsv(62, 78%, 38%)
CMYKcmyk(3.1%, 0%, 78.4%, 62%)
CIE-LABlab(39.55, -11.33, 40.07)
CIE-LCHlch(39.55, 41.64, 105.79°)
OKLaboklab(47.5% -0.0353 0.0883)
OKLCHoklch(47.5% 0.095 111.8)
XYZxyz(9.0264, 10.9834, 2.3538)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6115 #181561
analogous
#613E15 #5E6115 #386115
triadic
#5E6115 #155E61 #61155E
tetradic
#5E6115 #15613E #181561 #611538
square
#5E6115 #15613E #181561 #611538
split-complementary
#5E6115 #153861 #3E1561
monochromatic
#181905 #2D2F0A #5E6115 #8F9320 #C0C62B

Accessibility & contrast

On white

6.57
#5E6115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5E6115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6115
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6115#FFFFFF#000000##FFFFFF
##5E61151.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C06
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#655B53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e6115;
/* rgb */ color: rgb(94, 97, 21);
/* oklch */ color: oklch(47.5% 0.095 111.8);
Tailwind
colors: {
  custom: {
    50: '#8e8d59',
    500: '#5e6115',
    950: '#000000',
  },
}
SCSS
$custom: #5e6115;
$custom-light: #8e8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6115",
  "rgb": {
    "r": 94,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 62.368,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47501,
    "c": 0.0951,
    "h": 111.8
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#5E6115
secondary
#3D3A98
accent
#40E747
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6115

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

Preview Lab → · Contrast checker → · Palette generator →

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