#5A6B13#5A6B13

#5A6B13 is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.7% C 0.110 H 120.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5A6B13
RGBrgb(90, 107, 19)
HSLhsl(72, 70%, 25%)
HSVhsv(72, 82%, 42%)
CMYKcmyk(15.9%, 0%, 82.2%, 58%)
CIE-LABlab(42.36, -18.78, 43.26)
CIE-LCHlch(42.36, 47.16, 113.46°)
OKLaboklab(49.67% -0.0558 0.0948)
OKLCHoklch(49.67% 0.11 120.5)
XYZxyz(9.5919, 12.7361, 2.5690)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6B13 #24136B
analogous
#6B5013 #5A6B13 #2E6B13
triadic
#5A6B13 #135A6B #6B135A
tetradic
#5A6B13 #136B50 #24136B #6B132E
square
#5A6B13 #136B50 #24136B #6B132E
split-complementary
#5A6B13 #132E6B #50136B
monochromatic
#161A05 #2E370A #5A6B13 #869F1C #B1D325

Accessibility & contrast

On white

5.92
#5A6B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5A6B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6B13
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6B13#FFFFFF#000000##FFFFFF
##5A6B131.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#70641C
Tritanopia (blue-blind)
#60655B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a6b13;
/* rgb */ color: rgb(90, 107, 19);
/* oklch */ color: oklch(49.7% 0.110 120.5);
Tailwind
colors: {
  custom: {
    50: '#8c9559',
    500: '#5a6b13',
    950: '#000000',
  },
}
SCSS
$custom: #5a6b13;
$custom-light: #8c9559;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6b13",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 19
  },
  "hsl": {
    "h": 71.591,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.11005,
    "h": 120.5
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#5A6B13
secondary
#4C38A2
accent
#3BED5D
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6B13

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

Preview Lab → · Contrast checker → · Palette generator →

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