#5A7613#5A7613

#5A7613 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.5% C 0.124 H 125.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5A7613
RGBrgb(90, 118, 19)
HSLhsl(77, 72%, 27%)
HSVhsv(77, 84%, 46%)
CMYKcmyk(23.7%, 0%, 83.9%, 53.7%)
CIE-LABlab(45.88, -24.44, 46.44)
CIE-LCHlch(45.88, 52.48, 117.76°)
OKLaboklab(52.51% -0.0713 0.1016)
OKLCHoklch(52.51% 0.124 125.1)
XYZxyz(10.8125, 15.1774, 2.9759)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7613 #2F1376
analogous
#766113 #5A7613 #287613
triadic
#5A7613 #135A76 #76135A
tetradic
#5A7613 #137661 #2F1376 #761328
square
#5A7613 #137661 #2F1376 #761328
split-complementary
#5A7613 #132876 #611376
monochromatic
#141A04 #32410B #5A7613 #82AB1B #A9DC27

Accessibility & contrast

On white

5.20
#5A7613 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5A7613 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7613
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7613#FFFFFF#000000##FFFFFF
##5A76131.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#5F7064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a7613;
/* rgb */ color: rgb(90, 118, 19);
/* oklch */ color: oklch(52.5% 0.124 125.1);
Tailwind
colors: {
  custom: {
    50: '#8c9d5b',
    500: '#5a7613',
    950: '#000000',
  },
}
SCSS
$custom: #5a7613;
$custom-light: #8c9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7613",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 19
  },
  "hsl": {
    "h": 76.97,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52514,
    "c": 0.12409,
    "h": 125.1
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

primary
#5A7613
secondary
#5939AC
accent
#39EF6C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5A7613

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

Preview Lab → · Contrast checker → · Palette generator →

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