#5A762B#5A762B

#5A762B is a mid, moderate yellow-green. Relative luminance 0.153; OKLCH L 52.7% C 0.107 H 127.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5A762B
RGBrgb(90, 118, 43)
HSLhsl(82, 47%, 32%)
HSVhsv(82, 64%, 46%)
CMYKcmyk(23.7%, 0%, 63.6%, 53.7%)
CIE-LABlab(46.05, -22.83, 37.06)
CIE-LCHlch(46.05, 43.53, 121.63°)
OKLaboklab(52.71% -0.0647 0.0857)
OKLCHoklch(52.71% 0.107 127.1)
XYZxyz(11.1309, 15.3048, 4.6527)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A762B #472B76
analogous
#766D2B #5A762B #35762B
triadic
#5A762B #2B5A76 #762B5A
tetradic
#5A762B #2B766D #472B76 #762B35
square
#5A762B #2B766D #472B76 #762B35
split-complementary
#5A762B #2B3576 #6D2B76
monochromatic
#161C0A #38491B #5A762B #7CA33B #9BC259

Accessibility & contrast

On white

5.17
#5A762B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5A762B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A762B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A762B#FFFFFF#000000##FFFFFF
##5A762B1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E22
Deuteranopia (green-blind)
#786D30
Tritanopia (blue-blind)
#5D7166
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a762b;
/* rgb */ color: rgb(90, 118, 43);
/* oklch */ color: oklch(52.7% 0.107 127.1);
Tailwind
colors: {
  custom: {
    50: '#8b9d68',
    500: '#5a762b',
    950: '#000000',
  },
}
SCSS
$custom: #5a762b;
$custom-light: #8b9d68;
$custom-dark: #000000;
JSON
{
  "hex": "#5a762b",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 43
  },
  "hsl": {
    "h": 82.4,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52709,
    "c": 0.10736,
    "h": 127.1
  },
  "luminance": 0.15305
}

Semantic roles & 50–950 ramp

primary
#5A762B
secondary
#7455A8
accent
#52D683
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5A762B

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

Preview Lab → · Contrast checker → · Palette generator →

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