#5A741D#5A741D

#5A741D is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.1% C 0.116 H 124.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5A741D
RGBrgb(90, 116, 29)
HSLhsl(78, 60%, 28%)
HSVhsv(78, 75%, 45%)
CMYKcmyk(22.4%, 0%, 75%, 54.5%)
CIE-LABlab(45.29, -22.89, 42.41)
CIE-LCHlch(45.29, 48.20, 118.36°)
OKLaboklab(52.06% -0.0662 0.0948)
OKLCHoklch(52.06% 0.116 124.9)
XYZxyz(10.6837, 14.7530, 3.4469)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A741D #371D74
analogous
#74621D #5A741D #2E741D
triadic
#5A741D #1D5A74 #741D5A
tetradic
#5A741D #1D7462 #371D74 #741D2E
square
#5A741D #1D7462 #371D74 #741D2E
split-complementary
#5A741D #1D2E74 #621D74
monochromatic
#131806 #344311 #5A741D #80A529 #A3CE3D

Accessibility & contrast

On white

5.32
#5A741D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5A741D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A741D
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A741D#FFFFFF#000000##FFFFFF
##5A741D1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0D
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#5E6E63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a741d;
/* rgb */ color: rgb(90, 116, 29);
/* oklch */ color: oklch(52.1% 0.116 124.9);
Tailwind
colors: {
  custom: {
    50: '#8b9c5f',
    500: '#5a741d',
    950: '#000000',
  },
}
SCSS
$custom: #5a741d;
$custom-light: #8b9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a741d",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 77.931,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52061,
    "c": 0.11568,
    "h": 124.9
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#5A741D
secondary
#6245A8
accent
#45E374
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5A741D

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

Preview Lab → · Contrast checker → · Palette generator →

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