#538D2A#538D2A

#538D2A is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.3% C 0.144 H 134.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#538D2A
RGBrgb(83, 141, 42)
HSLhsl(95, 54%, 36%)
HSVhsv(95, 70%, 55%)
CMYKcmyk(41.1%, 0%, 70.2%, 44.7%)
CIE-LABlab(53.01, -36.52, 44.86)
CIE-LCHlch(53.01, 57.84, 129.15°)
OKLaboklab(58.26% -0.1018 0.1021)
OKLCHoklch(58.26% 0.144 134.9)
XYZxyz(13.5098, 21.0552, 5.5423)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D2A #642A8D
analogous
#848D2A #538D2A #2A8D33
triadic
#538D2A #2A538D #8D2A53
tetradic
#538D2A #2A848D #642A8D #8D332A
square
#538D2A #2A848D #642A8D #8D332A
split-complementary
#538D2A #332A8D #8D2A84
monochromatic
#1B2F0E #375E1C #538D2A #6FBC38 #8FD061

Accessibility & contrast

On white

4.03
#538D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#538D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538D2A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538D2A#FFFFFF#000000##000000
##538D2A1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821B
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#528879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #538d2a;
/* rgb */ color: rgb(83, 141, 42);
/* oklch */ color: oklch(58.3% 0.144 134.9);
Tailwind
colors: {
  custom: {
    50: '#88af69',
    500: '#538d2a',
    950: '#000000',
  },
}
SCSS
$custom: #538d2a;
$custom-light: #88af69;
$custom-dark: #000000;
JSON
{
  "hex": "#538d2a",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 95.152,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.1442,
    "h": 134.9
  },
  "luminance": 0.21056
}

Semantic roles & 50–950 ramp

primary
#538D2A
secondary
#915DB6
accent
#4ADDA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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