#5E6B15#5E6B15

#5E6B15 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.0% C 0.107 H 118.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5E6B15
RGBrgb(94, 107, 21)
HSLhsl(69, 67%, 25%)
HSVhsv(69, 80%, 42%)
CMYKcmyk(12.1%, 0%, 80.4%, 58%)
CIE-LABlab(42.69, -16.84, 43.00)
CIE-LCHlch(42.69, 46.18, 111.39°)
OKLaboklab(50.02% -0.0506 0.0945)
OKLCHoklch(50.02% 0.107 118.2)
XYZxyz(10.0094, 12.9493, 2.6815)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6B15 #22156B
analogous
#6B4D15 #5E6B15 #336B15
triadic
#5E6B15 #155E6B #6B155E
tetradic
#5E6B15 #156B4D #22156B #6B1533
square
#5E6B15 #156B4D #22156B #6B1533
split-complementary
#5E6B15 #15336B #4D156B
monochromatic
#161A05 #31380B #5E6B15 #8B9E1F #B8D129

Accessibility & contrast

On white

5.85
#5E6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5E6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6B15
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6B15#FFFFFF#000000##FFFFFF
##5E6B151.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736501
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#64655B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e6b15;
/* rgb */ color: rgb(94, 107, 21);
/* oklch */ color: oklch(50.0% 0.107 118.2);
Tailwind
colors: {
  custom: {
    50: '#8f955a',
    500: '#5e6b15',
    950: '#000000',
  },
}
SCSS
$custom: #5e6b15;
$custom-light: #8f955a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6b15",
  "rgb": {
    "r": 94,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 69.07,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50017,
    "c": 0.10719,
    "h": 118.2
  },
  "luminance": 0.12949
}

Semantic roles & 50–950 ramp

primary
#5E6B15
secondary
#4A3AA2
accent
#3EEA58
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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