#5A6F11#5A6F11

#5A6F11 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.7% C 0.116 H 122.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5A6F11
RGBrgb(90, 111, 17)
HSLhsl(73, 73%, 25%)
HSVhsv(73, 85%, 44%)
CMYKcmyk(18.9%, 0%, 84.7%, 56.5%)
CIE-LABlab(43.63, -20.96, 45.03)
CIE-LCHlch(43.63, 49.67, 114.96°)
OKLaboklab(50.69% -0.062 0.0982)
OKLCHoklch(50.69% 0.116 122.2)
XYZxyz(10.0022, 13.5830, 2.6250)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6F11 #26116F
analogous
#6F5511 #5A6F11 #2B6F11
triadic
#5A6F11 #115A6F #6F115A
tetradic
#5A6F11 #116F55 #26116F #6F112B
square
#5A6F11 #116F55 #26116F #6F112B
split-complementary
#5A6F11 #112B6F #55116F
monochromatic
#161B04 #2F3A09 #5A6F11 #85A419 #B0D921

Accessibility & contrast

On white

5.65
#5A6F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5A6F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6F11
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6F11#FFFFFF#000000##FFFFFF
##5A6F111.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#74671B
Tritanopia (blue-blind)
#5F695E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a6f11;
/* rgb */ color: rgb(90, 111, 17);
/* oklch */ color: oklch(50.7% 0.116 122.2);
Tailwind
colors: {
  custom: {
    50: '#8c9859',
    500: '#5a6f11',
    950: '#000000',
  },
}
SCSS
$custom: #5a6f11;
$custom-light: #8c9859;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6f11",
  "rgb": {
    "r": 90,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 73.404,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50692,
    "c": 0.11613,
    "h": 122.2
  },
  "luminance": 0.13583
}

Semantic roles & 50–950 ramp

primary
#5A6F11
secondary
#4F35A6
accent
#38F061
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6F11

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

Preview Lab → · Contrast checker → · Palette generator →

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