#538732#538732

#538732 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.8% C 0.130 H 135.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#538732
RGBrgb(83, 135, 50)
HSLhsl(97, 46%, 36%)
HSVhsv(97, 63%, 53%)
CMYKcmyk(38.5%, 0%, 63%, 47.1%)
CIE-LABlab(51.15, -33.10, 39.30)
CIE-LCHlch(51.15, 51.38, 130.10°)
OKLaboklab(56.77% -0.0919 0.0914)
OKLCHoklch(56.77% 0.13 135.2)
XYZxyz(12.8067, 19.3966, 6.0861)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538732 #663287
analogous
#7E8732 #538732 #32873C
triadic
#538732 #325387 #873253
tetradic
#538732 #327E87 #663287 #873C32
square
#538732 #327E87 #663287 #873C32
split-complementary
#538732 #3C3287 #87327E
monochromatic
#1C2E11 #385A21 #538732 #6EB443 #8FC86B

Accessibility & contrast

On white

4.30
#538732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#538732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538732
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538732#FFFFFF#000000##000000
##5387321.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D28
Deuteranopia (green-blind)
#857839
Tritanopia (blue-blind)
#528275
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #538732;
/* rgb */ color: rgb(83, 135, 50);
/* oklch */ color: oklch(56.8% 0.130 135.2);
Tailwind
colors: {
  custom: {
    50: '#87aa6d',
    500: '#538732',
    950: '#000000',
  },
}
SCSS
$custom: #538732;
$custom-light: #87aa6d;
$custom-dark: #000000;
JSON
{
  "hex": "#538732",
  "rgb": {
    "r": 83,
    "g": 135,
    "b": 50
  },
  "hsl": {
    "h": 96.706,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56765,
    "c": 0.12959,
    "h": 135.2
  },
  "luminance": 0.19397
}

Semantic roles & 50–950 ramp

primary
#538732
secondary
#9365B0
accent
#52D6A3
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538732

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

Preview Lab → · Contrast checker → · Palette generator →

#538732 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva