#5A6E11#5A6E11

#5A6E11 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.4% C 0.115 H 121.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5A6E11
RGBrgb(90, 110, 17)
HSLhsl(73, 73%, 25%)
HSVhsv(73, 85%, 43%)
CMYKcmyk(18.2%, 0%, 84.5%, 56.9%)
CIE-LABlab(43.31, -20.44, 44.75)
CIE-LCHlch(43.31, 49.20, 114.55°)
OKLaboklab(50.43% -0.0605 0.0976)
OKLCHoklch(50.43% 0.115 121.8)
XYZxyz(9.8937, 13.3660, 2.5889)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6E11 #25116E
analogous
#6E5311 #5A6E11 #2C6E11
triadic
#5A6E11 #115A6E #6E115A
tetradic
#5A6E11 #116E53 #25116E #6E112C
square
#5A6E11 #116E53 #25116E #6E112C
split-complementary
#5A6E11 #112C6E #53116E
monochromatic
#161B04 #2F3909 #5A6E11 #85A319 #B1D821

Accessibility & contrast

On white

5.72
#5A6E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5A6E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6E11
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6E11#FFFFFF#000000##FFFFFF
##5A6E111.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#73661B
Tritanopia (blue-blind)
#5F685D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a6e11;
/* rgb */ color: rgb(90, 110, 17);
/* oklch */ color: oklch(50.4% 0.115 121.8);
Tailwind
colors: {
  custom: {
    50: '#8c9759',
    500: '#5a6e11',
    950: '#000000',
  },
}
SCSS
$custom: #5a6e11;
$custom-light: #8c9759;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6e11",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 17
  },
  "hsl": {
    "h": 72.903,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50434,
    "c": 0.11487,
    "h": 121.8
  },
  "luminance": 0.13366
}

Semantic roles & 50–950 ramp

primary
#5A6E11
secondary
#4D35A5
accent
#38F05F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6E11

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

Preview Lab → · Contrast checker → · Palette generator →

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