#5A6F10#5A6F10

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

Color values

HEX#5A6F10
RGBrgb(90, 111, 16)
HSLhsl(73, 75%, 25%)
HSVhsv(73, 86%, 44%)
CMYKcmyk(18.9%, 0%, 85.6%, 56.5%)
CIE-LABlab(43.62, -21.00, 45.32)
CIE-LCHlch(43.62, 49.95, 114.86°)
OKLaboklab(50.69% -0.0621 0.0987)
OKLCHoklch(50.69% 0.117 122.2)
XYZxyz(9.9946, 13.5799, 2.5848)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6F10 #25106F
analogous
#6F5410 #5A6F10 #2B6F10
triadic
#5A6F10 #105A6F #6F105A
tetradic
#5A6F10 #106F54 #25106F #6F102B
square
#5A6F10 #106F54 #25106F #6F102B
split-complementary
#5A6F10 #102B6F #54106F
monochromatic
#161B04 #2F3A08 #5A6F10 #85A418 #B1DA1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6F10#FFFFFF#000000##FFFFFF
##5A6F101.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)
#74671A
Tritanopia (blue-blind)
#5F695E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a6f10;
/* rgb */ color: rgb(90, 111, 16);
/* oklch */ color: oklch(50.7% 0.117 122.2);
Tailwind
colors: {
  custom: {
    50: '#8c9859',
    500: '#5a6f10',
    950: '#000000',
  },
}
SCSS
$custom: #5a6f10;
$custom-light: #8c9859;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6f10",
  "rgb": {
    "r": 90,
    "g": 111,
    "b": 16
  },
  "hsl": {
    "h": 73.263,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50687,
    "c": 0.1166,
    "h": 122.2
  },
  "luminance": 0.1358
}

Semantic roles & 50–950 ramp

primary
#5A6F10
secondary
#4D34A7
accent
#36F160
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6F10

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

Preview Lab → · Contrast checker → · Palette generator →

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