#538331#538331

#538331 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.7% C 0.125 H 134.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#538331
RGBrgb(83, 131, 49)
HSLhsl(95, 46%, 35%)
HSVhsv(95, 63%, 51%)
CMYKcmyk(36.6%, 0%, 62.6%, 48.6%)
CIE-LABlab(49.85, -31.36, 38.32)
CIE-LCHlch(49.85, 49.51, 129.29°)
OKLaboklab(55.7% -0.0872 0.0892)
OKLCHoklch(55.7% 0.125 134.4)
XYZxyz(12.2377, 18.2928, 5.7912)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538331 #613183
analogous
#7C8331 #538331 #318338
triadic
#538331 #315383 #833153
tetradic
#538331 #317C83 #613183 #833831
square
#538331 #317C83 #613183 #833831
split-complementary
#538331 #383183 #83317C
monochromatic
#1B2A10 #375620 #538331 #6FB042 #8FC668

Accessibility & contrast

On white

4.51
#538331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#538331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538331
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538331#FFFFFF#000000##000000
##5383311.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887928
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#537E71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #538331;
/* rgb */ color: rgb(83, 131, 49);
/* oklch */ color: oklch(55.7% 0.125 134.4);
Tailwind
colors: {
  custom: {
    50: '#87a76c',
    500: '#538331',
    950: '#000000',
  },
}
SCSS
$custom: #538331;
$custom-light: #87a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#538331",
  "rgb": {
    "r": 83,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 95.122,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.12471,
    "h": 134.4
  },
  "luminance": 0.18293
}

Semantic roles & 50–950 ramp

primary
#538331
secondary
#8E62AE
accent
#53D59F
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #538331

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

Preview Lab → · Contrast checker → · Palette generator →

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