#538716#538716

#538716 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.5% C 0.148 H 132.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#538716
RGBrgb(83, 135, 22)
HSLhsl(88, 72%, 31%)
HSVhsv(88, 84%, 53%)
CMYKcmyk(38.5%, 0%, 83.7%, 47.1%)
CIE-LABlab(50.95, -35.15, 49.97)
CIE-LCHlch(50.95, 61.09, 125.12°)
OKLaboklab(56.54% -0.0996 0.1097)
OKLCHoklch(56.54% 0.148 132.2)
XYZxyz(12.3759, 19.2243, 3.8175)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538716 #4A1687
analogous
#878216 #538716 #1A8716
triadic
#538716 #165387 #871653
tetradic
#538716 #168782 #4A1687 #87161A
square
#538716 #168782 #4A1687 #87161A
split-complementary
#538716 #161A87 #821687
monochromatic
#121E05 #33520D #538716 #73BC1F #92DF39

Accessibility & contrast

On white

4.33
#538716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#538716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538716
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538716#FFFFFF#000000##000000
##5387161.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#548173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #538716;
/* rgb */ color: rgb(83, 135, 22);
/* oklch */ color: oklch(56.5% 0.148 132.2);
Tailwind
colors: {
  custom: {
    50: '#88aa5f',
    500: '#538716',
    950: '#000000',
  },
}
SCSS
$custom: #538716;
$custom-light: #88aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#538716",
  "rgb": {
    "r": 83,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 87.611,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56538,
    "c": 0.14817,
    "h": 132.2
  },
  "luminance": 0.19225
}

Semantic roles & 50–950 ramp

primary
#538716
secondary
#773EBB
accent
#39EF8D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #538716

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

Preview Lab → · Contrast checker → · Palette generator →

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