#538C2A#538C2A

#538C2A is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.143 H 134.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#538C2A
RGBrgb(83, 140, 42)
HSLhsl(95, 54%, 36%)
HSVhsv(95, 70%, 55%)
CMYKcmyk(40.7%, 0%, 70%, 45.1%)
CIE-LABlab(52.69, -36.08, 44.53)
CIE-LCHlch(52.69, 57.31, 129.02°)
OKLaboklab(58% -0.1006 0.1014)
OKLCHoklch(58% 0.143 134.8)
XYZxyz(13.3630, 20.7617, 5.4933)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538C2A #632A8C
analogous
#848C2A #538C2A #2A8C32
triadic
#538C2A #2A538C #8C2A53
tetradic
#538C2A #2A848C #632A8C #8C322A
square
#538C2A #2A848C #632A8C #8C322A
split-complementary
#538C2A #322A8C #8C2A84
monochromatic
#1B2E0E #375D1C #538C2A #6FBB38 #8FD061

Accessibility & contrast

On white

4.08
#538C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#538C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538C2A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538C2A#FFFFFF#000000##000000
##538C2A1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811C
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#528778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538c2a;
/* rgb */ color: rgb(83, 140, 42);
/* oklch */ color: oklch(58.0% 0.143 134.8);
Tailwind
colors: {
  custom: {
    50: '#88ae69',
    500: '#538c2a',
    950: '#000000',
  },
}
SCSS
$custom: #538c2a;
$custom-light: #88ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#538c2a",
  "rgb": {
    "r": 83,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 94.898,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58,
    "c": 0.14286,
    "h": 134.8
  },
  "luminance": 0.20762
}

Semantic roles & 50–950 ramp

primary
#538C2A
secondary
#905CB5
accent
#4BDDA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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