#5E6910#5E6910

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

Color values

HEX#5E6910
RGBrgb(94, 105, 16)
HSLhsl(67, 74%, 24%)
HSVhsv(67, 85%, 41%)
CMYKcmyk(10.5%, 0%, 84.8%, 58.8%)
CIE-LABlab(42.03, -15.98, 44.04)
CIE-LCHlch(42.03, 46.85, 109.95°)
OKLaboklab(49.48% -0.0486 0.0958)
OKLCHoklch(49.48% 0.107 116.9)
XYZxyz(9.7615, 12.5204, 2.3926)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6910 #1B1069
analogous
#694710 #5E6910 #316910
triadic
#5E6910 #105E69 #69105E
tetradic
#5E6910 #106947 #1B1069 #691031
square
#5E6910 #106947 #1B1069 #691031
split-complementary
#5E6910 #103169 #471069
monochromatic
#181B04 #2E3408 #5E6910 #8E9E18 #BDD320

Accessibility & contrast

On white

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

On black

3.50
#5E6910 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E6910#FFFFFF#000000##FFFFFF
##5E69101.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#706419
Tritanopia (blue-blind)
#646359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e6910;
/* rgb */ color: rgb(94, 105, 16);
/* oklch */ color: oklch(49.5% 0.107 116.9);
Tailwind
colors: {
  custom: {
    50: '#8f9358',
    500: '#5e6910',
    950: '#000000',
  },
}
SCSS
$custom: #5e6910;
$custom-light: #8f9358;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6910",
  "rgb": {
    "r": 94,
    "g": 105,
    "b": 16
  },
  "hsl": {
    "h": 67.416,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.49481,
    "c": 0.1074,
    "h": 116.9
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#5E6910
secondary
#4134A1
accent
#38F04E
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6910

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

Preview Lab → · Contrast checker → · Palette generator →

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