#5A6910#5A6910

#5A6910 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.1% C 0.109 H 119.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5A6910
RGBrgb(90, 105, 16)
HSLhsl(70, 74%, 24%)
HSVhsv(70, 85%, 41%)
CMYKcmyk(14.3%, 0%, 84.8%, 58.8%)
CIE-LABlab(41.71, -17.85, 43.63)
CIE-LCHlch(41.71, 47.14, 112.24°)
OKLaboklab(49.14% -0.0535 0.0951)
OKLCHoklch(49.14% 0.109 119.4)
XYZxyz(9.3618, 12.3143, 2.3738)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6910 #1F1069
analogous
#694B10 #5A6910 #2D6910
triadic
#5A6910 #105A69 #69105A
tetradic
#5A6910 #10694B #1F1069 #69102D
square
#5A6910 #10694B #1F1069 #69102D
split-complementary
#5A6910 #102D69 #4B1069
monochromatic
#171B04 #2C3408 #5A6910 #889E18 #B5D320

Accessibility & contrast

On white

6.06
#5A6910 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5A6910 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6910
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6910#FFFFFF#000000##FFFFFF
##5A69101.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6F6319
Tritanopia (blue-blind)
#606359
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6910;
/* rgb */ color: rgb(90, 105, 16);
/* oklch */ color: oklch(49.1% 0.109 119.4);
Tailwind
colors: {
  custom: {
    50: '#8c9358',
    500: '#5a6910',
    950: '#000000',
  },
}
SCSS
$custom: #5a6910;
$custom-light: #8c9358;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6910",
  "rgb": {
    "r": 90,
    "g": 105,
    "b": 16
  },
  "hsl": {
    "h": 70.112,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.49143,
    "c": 0.10908,
    "h": 119.4
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#5A6910
secondary
#4634A1
accent
#38F057
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6910

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

Preview Lab → · Contrast checker → · Palette generator →

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