#5C7413#5C7413

#5C7413 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 52.1% C 0.121 H 123.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5C7413
RGBrgb(92, 116, 19)
HSLhsl(75, 72%, 26%)
HSVhsv(75, 84%, 45%)
CMYKcmyk(20.7%, 0%, 83.6%, 54.5%)
CIE-LABlab(45.38, -22.55, 46.04)
CIE-LCHlch(45.38, 51.27, 116.10°)
OKLaboklab(52.15% -0.0663 0.1007)
OKLCHoklch(52.15% 0.121 123.4)
XYZxyz(10.7767, 14.8130, 2.9074)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7413 #2B1374
analogous
#745C13 #5C7413 #2C7413
triadic
#5C7413 #135C74 #74135C
tetradic
#5C7413 #13745C #2B1374 #74132C
square
#5C7413 #13745C #2B1374 #74132C
split-complementary
#5C7413 #132C74 #5C1374
monochromatic
#151A04 #323F0A #5C7413 #86A91C #AFDB26

Accessibility & contrast

On white

5.30
#5C7413 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5C7413 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7413
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7413#FFFFFF#000000##FFFFFF
##5C74131.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c7413;
/* rgb */ color: rgb(92, 116, 19);
/* oklch */ color: oklch(52.1% 0.121 123.4);
Tailwind
colors: {
  custom: {
    50: '#8d9c5b',
    500: '#5c7413',
    950: '#000000',
  },
}
SCSS
$custom: #5c7413;
$custom-light: #8d9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7413",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 19
  },
  "hsl": {
    "h": 74.845,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52146,
    "c": 0.12052,
    "h": 123.4
  },
  "luminance": 0.14813
}

Semantic roles & 50–950 ramp

primary
#5C7413
secondary
#5538AA
accent
#39EF66
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7413

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

Preview Lab → · Contrast checker → · Palette generator →

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