#538C2C#538C2C

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

Color values

HEX#538C2C
RGBrgb(83, 140, 44)
HSLhsl(96, 52%, 36%)
HSVhsv(96, 69%, 55%)
CMYKcmyk(40.7%, 0%, 68.6%, 45.1%)
CIE-LABlab(52.70, -35.91, 43.70)
CIE-LCHlch(52.70, 56.56, 129.41°)
OKLaboklab(58.02% -0.1 0.0999)
OKLCHoklch(58.02% 0.141 135)
XYZxyz(13.3997, 20.7763, 5.6866)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538C2C #652C8C
analogous
#838C2C #538C2C #2C8C35
triadic
#538C2C #2C538C #8C2C53
tetradic
#538C2C #2C838C #652C8C #8C352C
square
#538C2C #2C838C #652C8C #8C352C
split-complementary
#538C2C #352C8C #8C2C83
monochromatic
#1C2F0F #375D1D #538C2C #6FBB3B #8FCE64

Accessibility & contrast

On white

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

On black

5.16
#538C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538C2C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538C2C#FFFFFF#000000##000000
##538C2C1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #538c2c;
/* rgb */ color: rgb(83, 140, 44);
/* oklch */ color: oklch(58.0% 0.141 135.0);
Tailwind
colors: {
  custom: {
    50: '#88ae6a',
    500: '#538c2c',
    950: '#000000',
  },
}
SCSS
$custom: #538c2c;
$custom-light: #88ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#538c2c",
  "rgb": {
    "r": 83,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 95.625,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58019,
    "c": 0.14139,
    "h": 135
  },
  "luminance": 0.20777
}

Semantic roles & 50–950 ramp

primary
#538C2C
secondary
#925FB5
accent
#4CDCA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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