#538F2B#538F2B

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

Color values

HEX#538F2B
RGBrgb(83, 143, 43)
HSLhsl(96, 54%, 36%)
HSVhsv(96, 70%, 56%)
CMYKcmyk(42%, 0%, 69.9%, 43.9%)
CIE-LABlab(53.66, -37.31, 45.13)
CIE-LCHlch(53.66, 58.55, 129.58°)
OKLaboklab(58.8% -0.1039 0.1028)
OKLCHoklch(58.8% 0.146 135.3)
XYZxyz(13.8255, 21.6576, 5.7369)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F2B #672B8F
analogous
#858F2B #538F2B #2B8F35
triadic
#538F2B #2B538F #8F2B53
tetradic
#538F2B #2B858F #672B8F #8F352B
square
#538F2B #2B858F #672B8F #8F352B
split-complementary
#538F2B #352B8F #8F2B85
monochromatic
#1C310F #38601D #538F2B #6EBE39 #8FD064

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538F2B#FFFFFF#000000##000000
##538F2B1.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)
#94831C
Deuteranopia (green-blind)
#8C7E34
Tritanopia (blue-blind)
#518A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f2b;
/* rgb */ color: rgb(83, 143, 43);
/* oklch */ color: oklch(58.8% 0.146 135.3);
Tailwind
colors: {
  custom: {
    50: '#88b06a',
    500: '#538f2b',
    950: '#000000',
  },
}
SCSS
$custom: #538f2b;
$custom-light: #88b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#538f2b",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 96,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.588,
    "c": 0.14617,
    "h": 135.3
  },
  "luminance": 0.21658
}

Semantic roles & 50–950 ramp

primary
#538F2B
secondary
#945FB7
accent
#4BDDA3
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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