#538C2B#538C2B

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

Color values

HEX#538C2B
RGBrgb(83, 140, 43)
HSLhsl(95, 53%, 36%)
HSVhsv(95, 69%, 55%)
CMYKcmyk(40.7%, 0%, 69.3%, 45.1%)
CIE-LABlab(52.70, -35.99, 44.11)
CIE-LCHlch(52.70, 56.93, 129.21°)
OKLaboklab(58.01% -0.1003 0.1007)
OKLCHoklch(58.01% 0.142 134.9)
XYZxyz(13.3811, 20.7689, 5.5888)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538C2B #642B8C
analogous
#838C2B #538C2B #2B8C34
triadic
#538C2B #2B538C #8C2B53
tetradic
#538C2B #2B838C #642B8C #8C342B
square
#538C2B #2B838C #642B8C #8C342B
split-complementary
#538C2B #342B8C #8C2B83
monochromatic
#1B2E0E #375D1D #538C2B #6FBB39 #8FCF62

Accessibility & contrast

On white

4.07
#538C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##538C2B#FFFFFF#000000##000000
##538C2B1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811D
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#528778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538c2b;
/* rgb */ color: rgb(83, 140, 43);
/* oklch */ color: oklch(58.0% 0.142 134.9);
Tailwind
colors: {
  custom: {
    50: '#88ae6a',
    500: '#538c2b',
    950: '#000000',
  },
}
SCSS
$custom: #538c2b;
$custom-light: #88ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#538c2b",
  "rgb": {
    "r": 83,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 95.258,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58009,
    "c": 0.14213,
    "h": 134.9
  },
  "luminance": 0.2077
}

Semantic roles & 50–950 ramp

primary
#538C2B
secondary
#915EB5
accent
#4BDCA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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