#538017#538017

#538017 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.7% C 0.139 H 130.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#538017
RGBrgb(83, 128, 23)
HSLhsl(86, 70%, 30%)
HSVhsv(86, 82%, 50%)
CMYKcmyk(35.2%, 0%, 82%, 49.8%)
CIE-LABlab(48.68, -31.94, 47.60)
CIE-LCHlch(48.68, 57.32, 123.86°)
OKLaboklab(54.69% -0.0908 0.1049)
OKLCHoklch(54.69% 0.139 130.9)
XYZxyz(11.4410, 17.3388, 3.5544)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538017 #441780
analogous
#807817 #538017 #1F8017
triadic
#538017 #175380 #801753
tetradic
#538017 #178078 #441780 #80171F
square
#538017 #178078 #441780 #80171F
split-complementary
#538017 #171F80 #781780
monochromatic
#111A05 #314C0E #538017 #75B420 #94DB36

Accessibility & contrast

On white

4.70
#538017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#538017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #538017
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538017#FFFFFF#000000##FFFFFF
##5380171.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#557A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #538017;
/* rgb */ color: rgb(83, 128, 23);
/* oklch */ color: oklch(54.7% 0.139 130.9);
Tailwind
colors: {
  custom: {
    50: '#88a55e',
    500: '#538017',
    950: '#000000',
  },
}
SCSS
$custom: #538017;
$custom-light: #88a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#538017",
  "rgb": {
    "r": 83,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 85.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5469,
    "c": 0.13878,
    "h": 130.9
  },
  "luminance": 0.17339
}

Semantic roles & 50–950 ramp

primary
#538017
secondary
#713EB4
accent
#3BEC87
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #538017

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

Preview Lab → · Contrast checker → · Palette generator →

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