#538C2F#538C2F

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

Color values

HEX#538C2F
RGBrgb(83, 140, 47)
HSLhsl(97, 50%, 37%)
HSVhsv(97, 66%, 55%)
CMYKcmyk(40.7%, 0%, 66.4%, 45.1%)
CIE-LABlab(52.73, -35.64, 42.42)
CIE-LCHlch(52.73, 55.40, 130.04°)
OKLaboklab(58.05% -0.0991 0.0976)
OKLCHoklch(58.05% 0.139 135.4)
XYZxyz(13.4581, 20.7997, 5.9944)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538C2F #682F8C
analogous
#828C2F #538C2F #2F8C39
triadic
#538C2F #2F538C #8C2F53
tetradic
#538C2F #2F828C #682F8C #8C392F
square
#538C2F #2F828C #682F8C #8C392F
split-complementary
#538C2F #392F8C #8C2F82
monochromatic
#1D3010 #385E20 #538C2F #6EBA3E #8FCD69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538C2F#FFFFFF#000000##000000
##538C2F1.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)
#918123
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#528779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538c2f;
/* rgb */ color: rgb(83, 140, 47);
/* oklch */ color: oklch(58.0% 0.139 135.4);
Tailwind
colors: {
  custom: {
    50: '#88ae6c',
    500: '#538c2f',
    950: '#000000',
  },
}
SCSS
$custom: #538c2f;
$custom-light: #88ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#538c2f",
  "rgb": {
    "r": 83,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 96.774,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58048,
    "c": 0.13908,
    "h": 135.4
  },
  "luminance": 0.208
}

Semantic roles & 50–950 ramp

primary
#538C2F
secondary
#9463B4
accent
#4FD9A4
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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