#538D2C#538D2C

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

Color values

HEX#538D2C
RGBrgb(83, 141, 44)
HSLhsl(96, 52%, 36%)
HSVhsv(96, 69%, 55%)
CMYKcmyk(41.1%, 0%, 68.8%, 44.7%)
CIE-LABlab(53.03, -36.35, 44.04)
CIE-LCHlch(53.03, 57.10, 129.54°)
OKLaboklab(58.28% -0.1012 0.1007)
OKLCHoklch(58.28% 0.143 135.2)
XYZxyz(13.5465, 21.0699, 5.7355)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D2C #662C8D
analogous
#848D2C #538D2C #2C8D36
triadic
#538D2C #2C538D #8D2C53
tetradic
#538D2C #2C848D #662C8D #8D362C
square
#538D2C #2C848D #662C8D #8D362C
split-complementary
#538D2C #362C8D #8D2C84
monochromatic
#1C300F #385E1D #538D2C #6EBC3B #8FCF65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538D2C#FFFFFF#000000##000000
##538D2C1.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)
#92821F
Deuteranopia (green-blind)
#8A7D34
Tritanopia (blue-blind)
#528879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #538d2c;
/* rgb */ color: rgb(83, 141, 44);
/* oklch */ color: oklch(58.3% 0.143 135.2);
Tailwind
colors: {
  custom: {
    50: '#88af6a',
    500: '#538d2c',
    950: '#000000',
  },
}
SCSS
$custom: #538d2c;
$custom-light: #88af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#538d2c",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 95.876,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.14274,
    "h": 135.2
  },
  "luminance": 0.21071
}

Semantic roles & 50–950 ramp

primary
#538D2C
secondary
#9360B5
accent
#4CDCA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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