#538D16#538D16

#538D16 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.1% C 0.156 H 133.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#538D16
RGBrgb(83, 141, 22)
HSLhsl(89, 73%, 32%)
HSVhsv(89, 84%, 55%)
CMYKcmyk(41.1%, 0%, 84.4%, 44.7%)
CIE-LABlab(52.89, -37.77, 51.72)
CIE-LCHlch(52.89, 64.04, 126.14°)
OKLaboklab(58.13% -0.1066 0.1134)
OKLCHoklch(58.13% 0.156 133.2)
XYZxyz(13.2368, 20.9460, 4.1044)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D16 #50168D
analogous
#8D8C16 #538D16 #178D16
triadic
#538D16 #16538D #8D1653
tetradic
#538D16 #168D8C #50168D #8D1617
square
#538D16 #168D8C #50168D #8D1617
split-complementary
#538D16 #16178D #8C168D
monochromatic
#152305 #34580E #538D16 #72C21E #91E13D

Accessibility & contrast

On white

4.05
#538D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#538D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538D16
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538D16#FFFFFF#000000##000000
##538D161.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#538778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538d16;
/* rgb */ color: rgb(83, 141, 22);
/* oklch */ color: oklch(58.1% 0.156 133.2);
Tailwind
colors: {
  custom: {
    50: '#89af60',
    500: '#538d16',
    950: '#000000',
  },
}
SCSS
$custom: #538d16;
$custom-light: #89af60;
$custom-dark: #000000;
JSON
{
  "hex": "#538d16",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 89.244,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58128,
    "c": 0.15567,
    "h": 133.2
  },
  "luminance": 0.20947
}

Semantic roles & 50–950 ramp

primary
#538D16
secondary
#7E3EC1
accent
#38F092
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #538D16

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

Preview Lab → · Contrast checker → · Palette generator →

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