#538918#538918

#538918 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.1% C 0.150 H 132.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#538918
RGBrgb(83, 137, 24)
HSLhsl(89, 70%, 32%)
HSVhsv(89, 82%, 54%)
CMYKcmyk(39.4%, 0%, 82.5%, 46.3%)
CIE-LABlab(51.61, -35.93, 49.98)
CIE-LCHlch(51.61, 61.56, 125.71°)
OKLaboklab(57.08% -0.1016 0.1101)
OKLCHoklch(57.08% 0.15 132.7)
XYZxyz(12.6776, 19.7957, 4.0169)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538918 #4E1889
analogous
#898718 #538918 #1A8918
triadic
#538918 #185389 #891853
tetradic
#538918 #188987 #4E1889 #89181A
square
#538918 #188987 #4E1889 #89181A
split-complementary
#538918 #181A89 #871889
monochromatic
#142106 #33550F #538918 #73BD21 #91DD3E

Accessibility & contrast

On white

4.23
#538918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#538918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538918
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538918#FFFFFF#000000##000000
##5389181.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#887925
Tritanopia (blue-blind)
#548374
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #538918;
/* rgb */ color: rgb(83, 137, 24);
/* oklch */ color: oklch(57.1% 0.150 132.7);
Tailwind
colors: {
  custom: {
    50: '#89ac60',
    500: '#538918',
    950: '#000000',
  },
}
SCSS
$custom: #538918;
$custom-light: #89ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#538918",
  "rgb": {
    "r": 83,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 88.673,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57079,
    "c": 0.14977,
    "h": 132.7
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

primary
#538918
secondary
#7C40BD
accent
#3BED90
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #538918

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

Preview Lab → · Contrast checker → · Palette generator →

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