#5A701A#5A701A

#5A701A is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 51.0% C 0.112 H 123.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5A701A
RGBrgb(90, 112, 26)
HSLhsl(75, 62%, 27%)
HSVhsv(75, 77%, 44%)
CMYKcmyk(19.6%, 0%, 76.8%, 56.1%)
CIE-LABlab(44.00, -21.03, 42.30)
CIE-LCHlch(44.00, 47.24, 116.43°)
OKLaboklab(51.01% -0.0614 0.0941)
OKLCHoklch(51.01% 0.112 123.1)
XYZxyz(10.1972, 13.8365, 3.1106)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A701A #301A70
analogous
#705B1A #5A701A #2F701A
triadic
#5A701A #1A5A70 #701A5A
tetradic
#5A701A #1A705B #301A70 #701A2F
square
#5A701A #1A705B #301A70 #701A2F
split-complementary
#5A701A #1A2F70 #5B1A70
monochromatic
#141906 #323E0E #5A701A #82A226 #A8D034

Accessibility & contrast

On white

5.57
#5A701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5A701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A701A
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A701A#FFFFFF#000000##FFFFFF
##5A701A1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776909
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#5F6A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5a701a;
/* rgb */ color: rgb(90, 112, 26);
/* oklch */ color: oklch(51.0% 0.112 123.1);
Tailwind
colors: {
  custom: {
    50: '#8b995d',
    500: '#5a701a',
    950: '#000000',
  },
}
SCSS
$custom: #5a701a;
$custom-light: #8b995d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a701a",
  "rgb": {
    "r": 90,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 75.349,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.11235,
    "h": 123.1
  },
  "luminance": 0.13837
}

Semantic roles & 50–950 ramp

primary
#5A701A
secondary
#5A41A5
accent
#42E56C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5A701A

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

Preview Lab → · Contrast checker → · Palette generator →

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