#538418#538418

#538418 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.8% C 0.143 H 131.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#538418
RGBrgb(83, 132, 24)
HSLhsl(87, 69%, 31%)
HSVhsv(87, 82%, 52%)
CMYKcmyk(37.1%, 0%, 81.8%, 48.2%)
CIE-LABlab(49.99, -33.71, 48.49)
CIE-LCHlch(49.99, 59.06, 124.80°)
OKLaboklab(55.76% -0.0956 0.1069)
OKLCHoklch(55.76% 0.143 131.8)
XYZxyz(11.9833, 18.4070, 3.7855)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538418 #491884
analogous
#847F18 #538418 #1D8418
triadic
#538418 #185384 #841853
tetradic
#538418 #18847F #491884 #84181D
square
#538418 #18847F #491884 #84181D
split-complementary
#538418 #181D84 #7F1884
monochromatic
#121C05 #32500F #538418 #74B821 #93DB3B

Accessibility & contrast

On white

4.49
#538418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#538418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538418
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538418#FFFFFF#000000##000000
##5384181.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#837624
Tritanopia (blue-blind)
#547E70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #538418;
/* rgb */ color: rgb(83, 132, 24);
/* oklch */ color: oklch(55.8% 0.143 131.8);
Tailwind
colors: {
  custom: {
    50: '#88a85f',
    500: '#538418',
    950: '#000000',
  },
}
SCSS
$custom: #538418;
$custom-light: #88a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#538418",
  "rgb": {
    "r": 83,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 87.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55755,
    "c": 0.14342,
    "h": 131.8
  },
  "luminance": 0.18407
}

Semantic roles & 50–950 ramp

primary
#538418
secondary
#7640B8
accent
#3CEC8C
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #538418

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

Preview Lab → · Contrast checker → · Palette generator →

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