#538F17#538F17

#538F17 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.7% C 0.158 H 133.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#538F17
RGBrgb(83, 143, 23)
HSLhsl(90, 72%, 33%)
HSVhsv(90, 84%, 56%)
CMYKcmyk(42%, 0%, 83.9%, 43.9%)
CIE-LABlab(53.54, -38.58, 52.03)
CIE-LCHlch(53.54, 64.77, 126.56°)
OKLaboklab(58.66% -0.1087 0.1142)
OKLCHoklch(58.66% 0.158 133.6)
XYZxyz(13.5442, 21.5451, 4.2554)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F17 #53178F
analogous
#8F8F17 #538F17 #178F17
triadic
#538F17 #17538F #8F1753
tetradic
#538F17 #178F8F #53178F #8F1717
square
#538F17 #178F8F #53178F #8F1717
split-complementary
#538F17 #17178F #8F178F
monochromatic
#162606 #345A0F #538F17 #72C41F #90E040

Accessibility & contrast

On white

3.96
#538F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#538F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538F17
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538F17#FFFFFF#000000##000000
##538F171.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#53897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f17;
/* rgb */ color: rgb(83, 143, 23);
/* oklch */ color: oklch(58.7% 0.158 133.6);
Tailwind
colors: {
  custom: {
    50: '#89b061',
    500: '#538f17',
    950: '#000000',
  },
}
SCSS
$custom: #538f17;
$custom-light: #89b061;
$custom-dark: #000000;
JSON
{
  "hex": "#538f17",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 90,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58662,
    "c": 0.15771,
    "h": 133.6
  },
  "luminance": 0.21546
}

Semantic roles & 50–950 ramp

primary
#538F17
secondary
#8141C1
accent
#39EF94
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #538F17

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

Preview Lab → · Contrast checker → · Palette generator →

#538F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva