#5A751E#5A751E

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

Color values

HEX#5A751E
RGBrgb(90, 117, 30)
HSLhsl(79, 59%, 29%)
HSVhsv(79, 74%, 46%)
CMYKcmyk(23.1%, 0%, 74.4%, 54.1%)
CIE-LABlab(45.62, -23.34, 42.34)
CIE-LCHlch(45.62, 48.34, 118.86°)
OKLaboklab(52.33% -0.0674 0.0949)
OKLCHoklch(52.33% 0.116 125.4)
XYZxyz(10.8122, 14.9898, 3.5517)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A751E #391E75
analogous
#75651E #5A751E #2F751E
triadic
#5A751E #1E5A75 #751E5A
tetradic
#5A751E #1E7565 #391E75 #751E2F
square
#5A751E #1E7565 #391E75 #751E2F
split-complementary
#5A751E #1E2F75 #651E75
monochromatic
#131806 #354412 #5A751E #7FA62A #A2CE40

Accessibility & contrast

On white

5.25
#5A751E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5A751E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A751E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A751E#FFFFFF#000000##FFFFFF
##5A751E1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a751e;
/* rgb */ color: rgb(90, 117, 30);
/* oklch */ color: oklch(52.3% 0.116 125.4);
Tailwind
colors: {
  custom: {
    50: '#8b9d60',
    500: '#5a751e',
    950: '#000000',
  },
}
SCSS
$custom: #5a751e;
$custom-light: #8b9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#5a751e",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 78.621,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52327,
    "c": 0.11634,
    "h": 125.4
  },
  "luminance": 0.1499
}

Semantic roles & 50–950 ramp

primary
#5A751E
secondary
#6546A9
accent
#45E276
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5A751E

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

Preview Lab → · Contrast checker → · Palette generator →

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