#5A6E10#5A6E10

#5A6E10 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#5A6E10
RGBrgb(90, 110, 16)
HSLhsl(73, 75%, 25%)
HSVhsv(73, 85%, 43%)
CMYKcmyk(18.2%, 0%, 85.5%, 56.9%)
CIE-LABlab(43.30, -20.48, 45.04)
CIE-LCHlch(43.30, 49.48, 114.45°)
OKLaboklab(50.43% -0.0607 0.0981)
OKLCHoklch(50.43% 0.115 121.8)
XYZxyz(9.8861, 13.3629, 2.5486)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6E10 #24106E
analogous
#6E5310 #5A6E10 #2B6E10
triadic
#5A6E10 #105A6E #6E105A
tetradic
#5A6E10 #106E53 #24106E #6E102B
square
#5A6E10 #106E53 #24106E #6E102B
split-complementary
#5A6E10 #102B6E #53106E
monochromatic
#161B04 #2E3908 #5A6E10 #86A318 #B1D920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6E10#FFFFFF#000000##FFFFFF
##5A6E101.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)
#73661A
Tritanopia (blue-blind)
#5F685D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a6e10;
/* rgb */ color: rgb(90, 110, 16);
/* oklch */ color: oklch(50.4% 0.115 121.8);
Tailwind
colors: {
  custom: {
    50: '#8c9759',
    500: '#5a6e10',
    950: '#000000',
  },
}
SCSS
$custom: #5a6e10;
$custom-light: #8c9759;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6e10",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 16
  },
  "hsl": {
    "h": 72.766,
    "s": 74.603,
    "l": 24.706
  },
  "oklch": {
    "l": 0.50429,
    "c": 0.11534,
    "h": 121.8
  },
  "luminance": 0.13363
}

Semantic roles & 50–950 ramp

primary
#5A6E10
secondary
#4C34A6
accent
#37F15E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6E10

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

Preview Lab → · Contrast checker → · Palette generator →

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