#538F2A#538F2A

#538F2A is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.8% C 0.147 H 135.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#538F2A
RGBrgb(83, 143, 42)
HSLhsl(96, 55%, 36%)
HSVhsv(96, 71%, 56%)
CMYKcmyk(42%, 0%, 70.6%, 43.9%)
CIE-LABlab(53.65, -37.39, 45.53)
CIE-LCHlch(53.65, 58.92, 129.39°)
OKLaboklab(58.79% -0.1042 0.1035)
OKLCHoklch(58.79% 0.147 135.2)
XYZxyz(13.8073, 21.6503, 5.6414)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F2A #662A8F
analogous
#868F2A #538F2A #2A8F34
triadic
#538F2A #2A538F #8F2A53
tetradic
#538F2A #2A868F #662A8F #8F342A
square
#538F2A #2A868F #662A8F #8F342A
split-complementary
#538F2A #342A8F #8F2A86
monochromatic
#1C300E #38601C #538F2A #6EBE38 #8FD162

Accessibility & contrast

On white

3.94
#538F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#538F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538F2A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538F2A#FFFFFF#000000##000000
##538F2A1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#528A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f2a;
/* rgb */ color: rgb(83, 143, 42);
/* oklch */ color: oklch(58.8% 0.147 135.2);
Tailwind
colors: {
  custom: {
    50: '#88b06a',
    500: '#538f2a',
    950: '#000000',
  },
}
SCSS
$custom: #538f2a;
$custom-light: #88b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#538f2a",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 95.644,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58791,
    "c": 0.14688,
    "h": 135.2
  },
  "luminance": 0.21651
}

Semantic roles & 50–950 ramp

primary
#538F2A
secondary
#935EB7
accent
#4ADEA2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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