#538A2F#538A2F

#538A2F is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.5% C 0.136 H 135.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#538A2F
RGBrgb(83, 138, 47)
HSLhsl(96, 49%, 36%)
HSVhsv(96, 66%, 54%)
CMYKcmyk(39.9%, 0%, 65.9%, 45.9%)
CIE-LABlab(52.09, -34.75, 41.72)
CIE-LCHlch(52.09, 54.29, 129.79°)
OKLaboklab(57.52% -0.0966 0.0961)
OKLCHoklch(57.52% 0.136 135.1)
XYZxyz(13.1686, 20.2205, 5.8979)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538A2F #662F8A
analogous
#818A2F #538A2F #2F8A39
triadic
#538A2F #2F538A #8A2F53
tetradic
#538A2F #2F818A #662F8A #8A392F
square
#538A2F #2F818A #662F8A #8A392F
split-complementary
#538A2F #392F8A #8A2F81
monochromatic
#1C2F10 #385C1F #538A2F #6EB83F #8FCC68

Accessibility & contrast

On white

4.16
#538A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#538A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538A2F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538A2F#FFFFFF#000000##000000
##538A2F1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F24
Deuteranopia (green-blind)
#877B36
Tritanopia (blue-blind)
#528577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #538a2f;
/* rgb */ color: rgb(83, 138, 47);
/* oklch */ color: oklch(57.5% 0.136 135.1);
Tailwind
colors: {
  custom: {
    50: '#88ac6c',
    500: '#538a2f',
    950: '#000000',
  },
}
SCSS
$custom: #538a2f;
$custom-light: #88ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#538a2f",
  "rgb": {
    "r": 83,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 96.264,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57522,
    "c": 0.13631,
    "h": 135.1
  },
  "luminance": 0.20221
}

Semantic roles & 50–950 ramp

primary
#538A2F
secondary
#9362B3
accent
#4FD9A2
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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