#538B2C#538B2C

#538B2C is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.8% C 0.140 H 134.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#538B2C
RGBrgb(83, 139, 44)
HSLhsl(95, 52%, 36%)
HSVhsv(95, 68%, 55%)
CMYKcmyk(40.3%, 0%, 68.3%, 45.5%)
CIE-LABlab(52.38, -35.46, 43.35)
CIE-LCHlch(52.38, 56.01, 129.28°)
OKLaboklab(57.76% -0.0988 0.0992)
OKLCHoklch(57.76% 0.14 134.9)
XYZxyz(13.2542, 20.4854, 5.6381)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538B2C #642C8B
analogous
#828B2C #538B2C #2C8B34
triadic
#538B2C #2C538B #8B2C53
tetradic
#538B2C #2C828B #642C8B #8B342C
square
#538B2C #2C828B #642C8B #8B342C
split-complementary
#538B2C #342C8B #8B2C82
monochromatic
#1B2E0F #375D1D #538B2C #6FB93B #8FCE64

Accessibility & contrast

On white

4.12
#538B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#538B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538B2C
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538B2C#FFFFFF#000000##000000
##538B2C1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801F
Deuteranopia (green-blind)
#897B34
Tritanopia (blue-blind)
#528678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #538b2c;
/* rgb */ color: rgb(83, 139, 44);
/* oklch */ color: oklch(57.8% 0.140 134.9);
Tailwind
colors: {
  custom: {
    50: '#88ad6a',
    500: '#538b2c',
    950: '#000000',
  },
}
SCSS
$custom: #538b2c;
$custom-light: #88ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#538b2c",
  "rgb": {
    "r": 83,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 95.368,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57755,
    "c": 0.14003,
    "h": 134.9
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#538B2C
secondary
#915FB4
accent
#4CDBA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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