#538B18#538B18

#538B18 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.6% C 0.152 H 133.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#538B18
RGBrgb(83, 139, 24)
HSLhsl(89, 71%, 32%)
HSVhsv(89, 83%, 55%)
CMYKcmyk(40.3%, 0%, 82.7%, 45.5%)
CIE-LABlab(52.25, -36.81, 50.57)
CIE-LCHlch(52.25, 62.55, 126.05°)
OKLaboklab(57.61% -0.1039 0.1113)
OKLCHoklch(57.61% 0.152 133)
XYZxyz(12.9646, 20.3696, 4.1126)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538B18 #50188B
analogous
#8B8A18 #538B18 #1A8B18
triadic
#538B18 #18538B #8B1853
tetradic
#538B18 #188B8A #50188B #8B181A
square
#538B18 #188B8A #50188B #8B181A
split-complementary
#538B18 #181A8B #8A188B
monochromatic
#152306 #34570F #538B18 #72BF21 #91DE3F

Accessibility & contrast

On white

4.14
#538B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#538B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538B18
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538B18#FFFFFF#000000##000000
##538B181.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#538576
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #538b18;
/* rgb */ color: rgb(83, 139, 24);
/* oklch */ color: oklch(57.6% 0.152 133.0);
Tailwind
colors: {
  custom: {
    50: '#89ad60',
    500: '#538b18',
    950: '#000000',
  },
}
SCSS
$custom: #538b18;
$custom-light: #89ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#538b18",
  "rgb": {
    "r": 83,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 89.217,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57608,
    "c": 0.15229,
    "h": 133
  },
  "luminance": 0.2037
}

Semantic roles & 50–950 ramp

primary
#538B18
secondary
#7E40BE
accent
#3AED92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #538B18

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

Preview Lab → · Contrast checker → · Palette generator →

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