#538D2B#538D2B

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

Color values

HEX#538D2B
RGBrgb(83, 141, 43)
HSLhsl(96, 53%, 36%)
HSVhsv(96, 70%, 55%)
CMYKcmyk(41.1%, 0%, 69.5%, 44.7%)
CIE-LABlab(53.02, -36.43, 44.45)
CIE-LCHlch(53.02, 57.48, 129.34°)
OKLaboklab(58.27% -0.1015 0.1014)
OKLCHoklch(58.27% 0.143 135)
XYZxyz(13.5279, 21.0625, 5.6377)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D2B #652B8D
analogous
#848D2B #538D2B #2B8D34
triadic
#538D2B #2B538D #8D2B53
tetradic
#538D2B #2B848D #652B8D #8D342B
square
#538D2B #2B848D #652B8D #8D342B
split-complementary
#538D2B #342B8D #8D2B84
monochromatic
#1C2F0E #375E1D #538D2B #6FBC39 #8FCF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #538d2b;
/* rgb */ color: rgb(83, 141, 43);
/* oklch */ color: oklch(58.3% 0.143 135.0);
Tailwind
colors: {
  custom: {
    50: '#88af6a',
    500: '#538d2b',
    950: '#000000',
  },
}
SCSS
$custom: #538d2b;
$custom-light: #88af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#538d2b",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 95.51,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58273,
    "c": 0.14348,
    "h": 135
  },
  "luminance": 0.21063
}

Semantic roles & 50–950 ramp

primary
#538D2B
secondary
#925EB6
accent
#4BDDA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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