#5E6914#5E6914

#5E6914 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#5E6914
RGBrgb(94, 105, 20)
HSLhsl(68, 68%, 25%)
HSVhsv(68, 81%, 41%)
CMYKcmyk(10.5%, 0%, 81%, 58.8%)
CIE-LABlab(42.05, -15.81, 42.76)
CIE-LCHlch(42.05, 45.59, 110.29°)
OKLaboklab(49.5% -0.0478 0.0938)
OKLCHoklch(49.5% 0.105 117)
XYZxyz(9.7942, 12.5335, 2.5649)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6914 #1F1469
analogous
#694A14 #5E6914 #336914
triadic
#5E6914 #145E69 #69145E
tetradic
#5E6914 #14694A #1F1469 #691433
square
#5E6914 #14694A #1F1469 #691433
split-complementary
#5E6914 #143369 #4A1469
monochromatic
#171A05 #30360A #5E6914 #8C9C1E #BAD028

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E6914#FFFFFF#000000##FFFFFF
##5E69141.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)
#70641C
Tritanopia (blue-blind)
#646359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e6914;
/* rgb */ color: rgb(94, 105, 20);
/* oklch */ color: oklch(49.5% 0.105 117.0);
Tailwind
colors: {
  custom: {
    50: '#8f935a',
    500: '#5e6914',
    950: '#000000',
  },
}
SCSS
$custom: #5e6914;
$custom-light: #8f935a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6914",
  "rgb": {
    "r": 94,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 67.765,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49504,
    "c": 0.10529,
    "h": 117
  },
  "luminance": 0.12533
}

Semantic roles & 50–950 ramp

primary
#5E6914
secondary
#4639A0
accent
#3DEB53
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6914

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

Preview Lab → · Contrast checker → · Palette generator →

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