#538231#538231

#538231 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.4% C 0.123 H 134.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#538231
RGBrgb(83, 130, 49)
HSLhsl(95, 45%, 35%)
HSVhsv(95, 62%, 51%)
CMYKcmyk(36.2%, 0%, 62.3%, 49%)
CIE-LABlab(49.53, -30.89, 37.96)
CIE-LCHlch(49.53, 48.94, 129.14°)
OKLaboklab(55.44% -0.0859 0.0884)
OKLCHoklch(55.44% 0.123 134.2)
XYZxyz(12.1041, 18.0255, 5.7466)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538231 #603182
analogous
#7B8231 #538231 #318238
triadic
#538231 #315382 #823153
tetradic
#538231 #317B82 #603182 #823831
square
#538231 #317B82 #603182 #823831
split-complementary
#538231 #383182 #82317B
monochromatic
#1A290F #375620 #538231 #6FAE42 #8FC668

Accessibility & contrast

On white

4.56
#538231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#538231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538231
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538231#FFFFFF#000000##000000
##5382311.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877828
Deuteranopia (green-blind)
#807437
Tritanopia (blue-blind)
#537D71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #538231;
/* rgb */ color: rgb(83, 130, 49);
/* oklch */ color: oklch(55.4% 0.123 134.2);
Tailwind
colors: {
  custom: {
    50: '#87a66c',
    500: '#538231',
    950: '#000000',
  },
}
SCSS
$custom: #538231;
$custom-light: #87a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#538231",
  "rgb": {
    "r": 83,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 94.815,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5544,
    "c": 0.12327,
    "h": 134.2
  },
  "luminance": 0.18026
}

Semantic roles & 50–950 ramp

primary
#538231
secondary
#8D62AD
accent
#53D59E
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #538231

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

Preview Lab → · Contrast checker → · Palette generator →

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