#538F18#538F18

#538F18 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.7% C 0.157 H 133.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#538F18
RGBrgb(83, 143, 24)
HSLhsl(90, 71%, 33%)
HSVhsv(90, 83%, 56%)
CMYKcmyk(42%, 0%, 83.2%, 43.9%)
CIE-LABlab(53.55, -38.54, 51.75)
CIE-LCHlch(53.55, 64.52, 126.68°)
OKLaboklab(58.67% -0.1086 0.1138)
OKLCHoklch(58.67% 0.157 133.7)
XYZxyz(13.5544, 21.5492, 4.3092)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F18 #54188F
analogous
#8E8F18 #538F18 #188F19
triadic
#538F18 #18538F #8F1853
tetradic
#538F18 #188E8F #54188F #8F1918
square
#538F18 #188E8F #54188F #8F1918
split-complementary
#538F18 #19188F #8F188E
monochromatic
#162606 #355B0F #538F18 #71C321 #90DF42

Accessibility & contrast

On white

3.95
#538F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#538F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538F18
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538F18#FFFFFF#000000##000000
##538F181.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#53897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f18;
/* rgb */ color: rgb(83, 143, 24);
/* oklch */ color: oklch(58.7% 0.157 133.7);
Tailwind
colors: {
  custom: {
    50: '#89b061',
    500: '#538f18',
    950: '#000000',
  },
}
SCSS
$custom: #538f18;
$custom-light: #89b061;
$custom-dark: #000000;
JSON
{
  "hex": "#538f18",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 90.252,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58667,
    "c": 0.15727,
    "h": 133.7
  },
  "luminance": 0.2155
}

Semantic roles & 50–950 ramp

primary
#538F18
secondary
#8243C0
accent
#3AEE95
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #538F18

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

Preview Lab → · Contrast checker → · Palette generator →

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