#5A751A#5A751A

#5A751A is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.3% C 0.119 H 125.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5A751A
RGBrgb(90, 117, 26)
HSLhsl(78, 64%, 28%)
HSVhsv(78, 78%, 46%)
CMYKcmyk(23.1%, 0%, 77.8%, 54.1%)
CIE-LABlab(45.59, -23.58, 43.84)
CIE-LCHlch(45.59, 49.78, 118.28°)
OKLaboklab(52.3% -0.0684 0.0973)
OKLCHoklch(52.3% 0.119 125.1)
XYZxyz(10.7643, 14.9707, 3.2996)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A751A #351A75
analogous
#75621A #5A751A #2D751A
triadic
#5A751A #1A5A75 #751A5A
tetradic
#5A751A #1A7562 #351A75 #751A2D
square
#5A751A #1A7562 #351A75 #751A2D
split-complementary
#5A751A #1A2D75 #621A75
monochromatic
#131906 #33430F #5A751A #81A725 #A4D337

Accessibility & contrast

On white

5.26
#5A751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5A751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A751A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A751A#FFFFFF#000000##FFFFFF
##5A751A1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D06
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#5E6F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a751a;
/* rgb */ color: rgb(90, 117, 26);
/* oklch */ color: oklch(52.3% 0.119 125.1);
Tailwind
colors: {
  custom: {
    50: '#8c9d5e',
    500: '#5a751a',
    950: '#000000',
  },
}
SCSS
$custom: #5a751a;
$custom-light: #8c9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a751a",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 77.802,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52298,
    "c": 0.11895,
    "h": 125.1
  },
  "luminance": 0.14971
}

Semantic roles & 50–950 ramp

primary
#5A751A
secondary
#6041AA
accent
#41E772
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5A751A

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

Preview Lab → · Contrast checker → · Palette generator →

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