#538817#538817

#538817 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.8% C 0.149 H 132.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#538817
RGBrgb(83, 136, 23)
HSLhsl(88, 71%, 31%)
HSVhsv(88, 83%, 53%)
CMYKcmyk(39%, 0%, 83.1%, 46.7%)
CIE-LABlab(51.28, -35.54, 49.98)
CIE-LCHlch(51.28, 61.33, 125.42°)
OKLaboklab(56.81% -0.1006 0.1099)
OKLCHoklch(56.81% 0.149 132.5)
XYZxyz(12.5259, 19.5086, 3.9160)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538817 #4C1788
analogous
#888417 #538817 #1A8817
triadic
#538817 #175388 #881753
tetradic
#538817 #178884 #4C1788 #88171A
square
#538817 #178884 #4C1788 #88171A
split-complementary
#538817 #171A88 #841788
monochromatic
#131F05 #33540E #538817 #73BC20 #92DE3B

Accessibility & contrast

On white

4.28
#538817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#538817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538817
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538817#FFFFFF#000000##000000
##5388171.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#548274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #538817;
/* rgb */ color: rgb(83, 136, 23);
/* oklch */ color: oklch(56.8% 0.149 132.5);
Tailwind
colors: {
  custom: {
    50: '#89ab5f',
    500: '#538817',
    950: '#000000',
  },
}
SCSS
$custom: #538817;
$custom-light: #89ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#538817",
  "rgb": {
    "r": 83,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 88.142,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56809,
    "c": 0.14897,
    "h": 132.5
  },
  "luminance": 0.19509
}

Semantic roles & 50–950 ramp

primary
#538817
secondary
#7A3FBC
accent
#3AEE8E
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #538817

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

Preview Lab → · Contrast checker → · Palette generator →

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