#5E6A10#5E6A10

#5E6A10 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.7% C 0.109 H 117.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5E6A10
RGBrgb(94, 106, 16)
HSLhsl(68, 74%, 24%)
HSVhsv(68, 85%, 42%)
CMYKcmyk(11.3%, 0%, 84.9%, 58.4%)
CIE-LABlab(42.35, -16.53, 44.31)
CIE-LCHlch(42.35, 47.29, 110.45°)
OKLaboklab(49.74% -0.0501 0.0964)
OKLCHoklch(49.74% 0.109 117.5)
XYZxyz(9.8639, 12.7253, 2.4267)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6A10 #1C106A
analogous
#6A4910 #5E6A10 #316A10
triadic
#5E6A10 #105E6A #6A105E
tetradic
#5E6A10 #106A49 #1C106A #6A1031
square
#5E6A10 #106A49 #1C106A #6A1031
split-complementary
#5E6A10 #10316A #49106A
monochromatic
#181B04 #2F3508 #5E6A10 #8D9F18 #BCD420

Accessibility & contrast

On white

5.92
#5E6A10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5E6A10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6A10
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6A10#FFFFFF#000000##FFFFFF
##5E6A101.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#716419
Tritanopia (blue-blind)
#64645A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e6a10;
/* rgb */ color: rgb(94, 106, 16);
/* oklch */ color: oklch(49.7% 0.109 117.5);
Tailwind
colors: {
  custom: {
    50: '#8f9458',
    500: '#5e6a10',
    950: '#000000',
  },
}
SCSS
$custom: #5e6a10;
$custom-light: #8f9458;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6a10",
  "rgb": {
    "r": 94,
    "g": 106,
    "b": 16
  },
  "hsl": {
    "h": 68,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.10861,
    "h": 117.5
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

primary
#5E6A10
secondary
#4234A2
accent
#37F050
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6A10

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

Preview Lab → · Contrast checker → · Palette generator →

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