#5A751D#5A751D

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

Color values

HEX#5A751D
RGBrgb(90, 117, 29)
HSLhsl(78, 60%, 29%)
HSVhsv(78, 75%, 46%)
CMYKcmyk(23.1%, 0%, 75.2%, 54.1%)
CIE-LABlab(45.61, -23.40, 42.73)
CIE-LCHlch(45.61, 48.71, 118.71°)
OKLaboklab(52.32% -0.0676 0.0955)
OKLCHoklch(52.32% 0.117 125.3)
XYZxyz(10.7996, 14.9848, 3.4856)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A751D #381D75
analogous
#75641D #5A751D #2E751D
triadic
#5A751D #1D5A75 #751D5A
tetradic
#5A751D #1D7564 #381D75 #751D2E
square
#5A751D #1D7564 #381D75 #751D2E
split-complementary
#5A751D #1D2E75 #641D75
monochromatic
#131906 #344411 #5A751D #80A629 #A2CF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A751D#FFFFFF#000000##FFFFFF
##5A751D1.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)
#7C6D0D
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#5E6F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a751d;
/* rgb */ color: rgb(90, 117, 29);
/* oklch */ color: oklch(52.3% 0.117 125.3);
Tailwind
colors: {
  custom: {
    50: '#8c9d60',
    500: '#5a751d',
    950: '#000000',
  },
}
SCSS
$custom: #5a751d;
$custom-light: #8c9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#5a751d",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 78.409,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5232,
    "c": 0.11702,
    "h": 125.3
  },
  "luminance": 0.14985
}

Semantic roles & 50–950 ramp

primary
#5A751D
secondary
#6445A9
accent
#44E375
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5A751D

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

Preview Lab → · Contrast checker → · Palette generator →

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