#5A7413#5A7413

#5A7413 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 52.0% C 0.122 H 124.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5A7413
RGBrgb(90, 116, 19)
HSLhsl(76, 72%, 26%)
HSVhsv(76, 84%, 45%)
CMYKcmyk(22.4%, 0%, 83.6%, 54.5%)
CIE-LABlab(45.24, -23.43, 45.86)
CIE-LCHlch(45.24, 51.50, 117.06°)
OKLaboklab(52% -0.0685 0.1004)
OKLCHoklch(52% 0.122 124.3)
XYZxyz(10.5795, 14.7114, 2.8982)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7413 #2D1374
analogous
#745E13 #5A7413 #2A7413
triadic
#5A7413 #135A74 #74135A
tetradic
#5A7413 #13745E #2D1374 #74132A
square
#5A7413 #13745E #2D1374 #74132A
split-complementary
#5A7413 #132A74 #5E1374
monochromatic
#141A04 #313F0A #5A7413 #83A91C #ABDB26

Accessibility & contrast

On white

5.33
#5A7413 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5A7413 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7413
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7413#FFFFFF#000000##FFFFFF
##5A74131.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#786B1D
Tritanopia (blue-blind)
#5F6E62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a7413;
/* rgb */ color: rgb(90, 116, 19);
/* oklch */ color: oklch(52.0% 0.122 124.3);
Tailwind
colors: {
  custom: {
    50: '#8c9c5b',
    500: '#5a7413',
    950: '#000000',
  },
}
SCSS
$custom: #5a7413;
$custom-light: #8c9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7413",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 19
  },
  "hsl": {
    "h": 76.082,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51996,
    "c": 0.12153,
    "h": 124.3
  },
  "luminance": 0.14711
}

Semantic roles & 50–950 ramp

primary
#5A7413
secondary
#5738AA
accent
#39EF6A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5A7413

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

Preview Lab → · Contrast checker → · Palette generator →

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