#5E6913#5E6913

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

Color values

HEX#5E6913
RGBrgb(94, 105, 19)
HSLhsl(68, 69%, 24%)
HSVhsv(68, 82%, 41%)
CMYKcmyk(10.5%, 0%, 81.9%, 58.8%)
CIE-LABlab(42.05, -15.86, 43.09)
CIE-LCHlch(42.05, 45.92, 110.20°)
OKLaboklab(49.5% -0.048 0.0943)
OKLCHoklch(49.5% 0.106 117)
XYZxyz(9.7855, 12.5300, 2.5190)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6913 #1E1369
analogous
#694913 #5E6913 #336913
triadic
#5E6913 #135E69 #69135E
tetradic
#5E6913 #136949 #1E1369 #691333
square
#5E6913 #136949 #1E1369 #691333
split-complementary
#5E6913 #133369 #491369
monochromatic
#171A05 #30350A #5E6913 #8C9D1C #BBD126

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E6913#FFFFFF#000000##FFFFFF
##5E69131.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)
#716300
Deuteranopia (green-blind)
#70641B
Tritanopia (blue-blind)
#646359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e6913;
/* rgb */ color: rgb(94, 105, 19);
/* oklch */ color: oklch(49.5% 0.106 117.0);
Tailwind
colors: {
  custom: {
    50: '#8f9359',
    500: '#5e6913',
    950: '#000000',
  },
}
SCSS
$custom: #5e6913;
$custom-light: #8f9359;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6913",
  "rgb": {
    "r": 94,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 67.674,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49498,
    "c": 0.10585,
    "h": 117
  },
  "luminance": 0.1253
}

Semantic roles & 50–950 ramp

primary
#5E6913
secondary
#4538A0
accent
#3CEC52
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6913

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

Preview Lab → · Contrast checker → · Palette generator →

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