#5A741E#5A741E

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

Color values

HEX#5A741E
RGBrgb(90, 116, 30)
HSLhsl(78, 59%, 29%)
HSVhsv(78, 74%, 45%)
CMYKcmyk(22.4%, 0%, 74.1%, 54.5%)
CIE-LABlab(45.30, -22.83, 42.02)
CIE-LCHlch(45.30, 47.82, 118.52°)
OKLaboklab(52.07% -0.066 0.0942)
OKLCHoklch(52.07% 0.115 125)
XYZxyz(10.6963, 14.7581, 3.5131)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A741E #381E74
analogous
#74631E #5A741E #2F741E
triadic
#5A741E #1E5A74 #741E5A
tetradic
#5A741E #1E7463 #381E74 #741E2F
square
#5A741E #1E7463 #381E74 #741E2F
split-complementary
#5A741E #1E2F74 #631E74
monochromatic
#131806 #344311 #5A741E #80A52B #A2CD3F

Accessibility & contrast

On white

5.31
#5A741E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A741E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A741E#FFFFFF#000000##FFFFFF
##5A741E1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a741e;
/* rgb */ color: rgb(90, 116, 30);
/* oklch */ color: oklch(52.1% 0.115 125.0);
Tailwind
colors: {
  custom: {
    50: '#8b9c60',
    500: '#5a741e',
    950: '#000000',
  },
}
SCSS
$custom: #5a741e;
$custom-light: #8b9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#5a741e",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 30
  },
  "hsl": {
    "h": 78.14,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52069,
    "c": 0.11499,
    "h": 125
  },
  "luminance": 0.14758
}

Semantic roles & 50–950 ramp

primary
#5A741E
secondary
#6446A8
accent
#46E275
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5A741E

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

Preview Lab → · Contrast checker → · Palette generator →

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