#5A6F13#5A6F13

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

Color values

HEX#5A6F13
RGBrgb(90, 111, 19)
HSLhsl(74, 71%, 25%)
HSVhsv(74, 83%, 44%)
CMYKcmyk(18.9%, 0%, 82.9%, 56.5%)
CIE-LABlab(43.64, -20.87, 44.42)
CIE-LCHlch(43.64, 49.08, 115.17°)
OKLaboklab(50.7% -0.0616 0.0973)
OKLCHoklch(50.7% 0.115 122.3)
XYZxyz(10.0186, 13.5895, 2.7112)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6F13 #28136F
analogous
#6F5613 #5A6F13 #2C6F13
triadic
#5A6F13 #135A6F #6F135A
tetradic
#5A6F13 #136F56 #28136F #6F132C
square
#5A6F13 #136F56 #28136F #6F132C
split-complementary
#5A6F13 #132C6F #56136F
monochromatic
#151A04 #303B0A #5A6F13 #84A31C #AFD825

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6F13#FFFFFF#000000##FFFFFF
##5A6F131.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)
#73671C
Tritanopia (blue-blind)
#5F695E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a6f13;
/* rgb */ color: rgb(90, 111, 19);
/* oklch */ color: oklch(50.7% 0.115 122.3);
Tailwind
colors: {
  custom: {
    50: '#8c985a',
    500: '#5a6f13',
    950: '#000000',
  },
}
SCSS
$custom: #5a6f13;
$custom-light: #8c985a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6f13",
  "rgb": {
    "r": 90,
    "g": 111,
    "b": 19
  },
  "hsl": {
    "h": 73.696,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50703,
    "c": 0.11514,
    "h": 122.3
  },
  "luminance": 0.1359
}

Semantic roles & 50–950 ramp

primary
#5A6F13
secondary
#5138A6
accent
#3AEE63
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6F13

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

Preview Lab → · Contrast checker → · Palette generator →

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