#5A6922#5A6922

#5A6922 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.3% C 0.097 H 120.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5A6922
RGBrgb(90, 105, 34)
HSLhsl(73, 51%, 27%)
HSVhsv(73, 68%, 41%)
CMYKcmyk(14.3%, 0%, 67.6%, 58.8%)
CIE-LABlab(41.83, -16.78, 36.72)
CIE-LCHlch(41.83, 40.37, 114.55°)
OKLaboklab(49.28% -0.0488 0.0837)
OKLCHoklch(49.28% 0.097 120.3)
XYZxyz(9.5569, 12.3923, 3.4016)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6922 #312269
analogous
#695522 #5A6922 #376922
triadic
#5A6922 #225A69 #69225A
tetradic
#5A6922 #226955 #312269 #692237
square
#5A6922 #226955 #312269 #692237
split-complementary
#5A6922 #223769 #552269
monochromatic
#141707 #323B13 #5A6922 #829731 #A7C243

Accessibility & contrast

On white

6.04
#5A6922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5A6922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6922
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6922#FFFFFF#000000##FFFFFF
##5A69221.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706319
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#5F635A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a6922;
/* rgb */ color: rgb(90, 105, 34);
/* oklch */ color: oklch(49.3% 0.097 120.3);
Tailwind
colors: {
  custom: {
    50: '#8b9361',
    500: '#5a6922',
    950: '#000000',
  },
}
SCSS
$custom: #5a6922;
$custom-light: #8b9361;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6922",
  "rgb": {
    "r": 90,
    "g": 105,
    "b": 34
  },
  "hsl": {
    "h": 72.676,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4928,
    "c": 0.0969,
    "h": 120.3
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#5A6922
secondary
#5C4A9D
accent
#4DDB6B
background
#F8F9F5
surface
#F0F1EA
border
#CBCBC6
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5A6922

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

Preview Lab → · Contrast checker → · Palette generator →

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