#5E6915#5E6915

#5E6915 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.5% C 0.105 H 117.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5E6915
RGBrgb(94, 105, 21)
HSLhsl(68, 67%, 25%)
HSVhsv(68, 80%, 41%)
CMYKcmyk(10.5%, 0%, 80%, 58.8%)
CIE-LABlab(42.06, -15.76, 42.41)
CIE-LCHlch(42.06, 45.25, 110.39°)
OKLaboklab(49.51% -0.0476 0.0933)
OKLCHoklch(49.51% 0.105 117)
XYZxyz(9.8033, 12.5371, 2.6128)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6915 #201569
analogous
#694A15 #5E6915 #346915
triadic
#5E6915 #155E69 #69155E
tetradic
#5E6915 #15694A #201569 #691534
square
#5E6915 #15694A #201569 #691534
split-complementary
#5E6915 #153469 #4A1569
monochromatic
#171A05 #30360B #5E6915 #8C9C1F #B9CF29

Accessibility & contrast

On white

5.99
#5E6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5E6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6915
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6915#FFFFFF#000000##FFFFFF
##5E69151.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716302
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#646359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e6915;
/* rgb */ color: rgb(94, 105, 21);
/* oklch */ color: oklch(49.5% 0.105 117.0);
Tailwind
colors: {
  custom: {
    50: '#8e935a',
    500: '#5e6915',
    950: '#000000',
  },
}
SCSS
$custom: #5e6915;
$custom-light: #8e935a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6915",
  "rgb": {
    "r": 94,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 67.857,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4951,
    "c": 0.10471,
    "h": 117
  },
  "luminance": 0.12537
}

Semantic roles & 50–950 ramp

primary
#5E6915
secondary
#473AA0
accent
#3EEA55
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6915

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

Preview Lab → · Contrast checker → · Palette generator →

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