#538020#538020

#538020 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.8% C 0.134 H 131.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#538020
RGBrgb(83, 128, 32)
HSLhsl(88, 60%, 31%)
HSVhsv(88, 75%, 50%)
CMYKcmyk(35.2%, 0%, 75%, 49.8%)
CIE-LABlab(48.74, -31.40, 44.51)
CIE-LCHlch(48.74, 54.47, 125.20°)
OKLaboklab(54.75% -0.0887 0.0999)
OKLCHoklch(54.75% 0.134 131.6)
XYZxyz(11.5470, 17.3812, 4.1127)
Luminance0.1738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538020 #4D2080
analogous
#807D20 #538020 #238020
triadic
#538020 #205380 #802053
tetradic
#538020 #20807D #4D2080 #802023
square
#538020 #20807D #4D2080 #802023
split-complementary
#538020 #202380 #7D2080
monochromatic
#141E08 #334F14 #538020 #73B12C #91D149

Accessibility & contrast

On white

4.69
#538020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#538020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #538020
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538020#FFFFFF#000000##FFFFFF
##5380201.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#547A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #538020;
/* rgb */ color: rgb(83, 128, 32);
/* oklch */ color: oklch(54.8% 0.134 131.6);
Tailwind
colors: {
  custom: {
    50: '#87a562',
    500: '#538020',
    950: '#000000',
  },
}
SCSS
$custom: #538020;
$custom-light: #87a562;
$custom-dark: #000000;
JSON
{
  "hex": "#538020",
  "rgb": {
    "r": 83,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 88.125,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5475,
    "c": 0.13361,
    "h": 131.6
  },
  "luminance": 0.17382
}

Semantic roles & 50–950 ramp

primary
#538020
secondary
#7B49B3
accent
#45E38F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #538020

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

Preview Lab → · Contrast checker → · Palette generator →

#538020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva