#538531#538531

#538531 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.2% C 0.128 H 134.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#538531
RGBrgb(83, 133, 49)
HSLhsl(96, 46%, 36%)
HSVhsv(96, 63%, 52%)
CMYKcmyk(37.6%, 0%, 63.2%, 47.8%)
CIE-LABlab(50.49, -32.28, 39.04)
CIE-LCHlch(50.49, 50.66, 129.59°)
OKLaboklab(56.23% -0.0897 0.0907)
OKLCHoklch(56.23% 0.128 134.7)
XYZxyz(12.5089, 18.8352, 5.8816)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538531 #633185
analogous
#7D8531 #538531 #318539
triadic
#538531 #315385 #853153
tetradic
#538531 #317D85 #633185 #853931
square
#538531 #317D85 #633185 #853931
split-complementary
#538531 #393185 #85317D
monochromatic
#1B2C10 #375821 #538531 #6FB241 #8FC869

Accessibility & contrast

On white

4.41
#538531 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#538531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538531
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538531#FFFFFF#000000##000000
##5385311.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B27
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#528073
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #538531;
/* rgb */ color: rgb(83, 133, 49);
/* oklch */ color: oklch(56.2% 0.128 134.7);
Tailwind
colors: {
  custom: {
    50: '#87a96d',
    500: '#538531',
    950: '#000000',
  },
}
SCSS
$custom: #538531;
$custom-light: #87a96d;
$custom-dark: #000000;
JSON
{
  "hex": "#538531",
  "rgb": {
    "r": 83,
    "g": 133,
    "b": 49
  },
  "hsl": {
    "h": 95.714,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56228,
    "c": 0.12759,
    "h": 134.7
  },
  "luminance": 0.18836
}

Semantic roles & 50–950 ramp

primary
#538531
secondary
#9063AF
accent
#52D6A0
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538531

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

Preview Lab → · Contrast checker → · Palette generator →

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