#538518#538518

#538518 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.145 H 132.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#538518
RGBrgb(83, 133, 24)
HSLhsl(88, 69%, 31%)
HSVhsv(88, 82%, 52%)
CMYKcmyk(37.6%, 0%, 82%, 47.8%)
CIE-LABlab(50.31, -34.16, 48.79)
CIE-LCHlch(50.31, 59.56, 124.99°)
OKLaboklab(56.02% -0.0968 0.1076)
OKLCHoklch(56.02% 0.145 132)
XYZxyz(12.1195, 18.6795, 3.8309)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538518 #4A1885
analogous
#858018 #538518 #1C8518
triadic
#538518 #185385 #851853
tetradic
#538518 #188580 #4A1885 #85181C
square
#538518 #188580 #4A1885 #85181C
split-complementary
#538518 #181C85 #801885
monochromatic
#121D05 #33510F #538518 #73B921 #92DC3C

Accessibility & contrast

On white

4.43
#538518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#538518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538518
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538518#FFFFFF#000000##000000
##5385181.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#547F71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #538518;
/* rgb */ color: rgb(83, 133, 24);
/* oklch */ color: oklch(56.0% 0.145 132.0);
Tailwind
colors: {
  custom: {
    50: '#88a95f',
    500: '#538518',
    950: '#000000',
  },
}
SCSS
$custom: #538518;
$custom-light: #88a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#538518",
  "rgb": {
    "r": 83,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 87.523,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56019,
    "c": 0.1447,
    "h": 132
  },
  "luminance": 0.1868
}

Semantic roles & 50–950 ramp

primary
#538518
secondary
#7740B9
accent
#3CEC8D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #538518

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

Preview Lab → · Contrast checker → · Palette generator →

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