#538120#538120

#538120 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.0% C 0.135 H 131.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#538120
RGBrgb(83, 129, 32)
HSLhsl(88, 60%, 32%)
HSVhsv(88, 75%, 51%)
CMYKcmyk(35.7%, 0%, 75.2%, 49.4%)
CIE-LABlab(49.06, -31.86, 44.83)
CIE-LCHlch(49.06, 55.00, 125.40°)
OKLaboklab(55.01% -0.09 0.1006)
OKLCHoklch(55.01% 0.135 131.8)
XYZxyz(11.6781, 17.6433, 4.1564)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538120 #4E2081
analogous
#817F20 #538120 #238120
triadic
#538120 #205381 #812053
tetradic
#538120 #20817F #4E2081 #812023
square
#538120 #20817F #4E2081 #812023
split-complementary
#538120 #202381 #7F2081
monochromatic
#141F08 #335014 #538120 #73B22C #91D249

Accessibility & contrast

On white

4.64
#538120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#538120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #538120
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538120#FFFFFF#000000##FFFFFF
##5381201.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770E
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#547B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #538120;
/* rgb */ color: rgb(83, 129, 32);
/* oklch */ color: oklch(55.0% 0.135 131.8);
Tailwind
colors: {
  custom: {
    50: '#87a663',
    500: '#538120',
    950: '#000000',
  },
}
SCSS
$custom: #538120;
$custom-light: #87a663;
$custom-dark: #000000;
JSON
{
  "hex": "#538120",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 88.454,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55014,
    "c": 0.13495,
    "h": 131.8
  },
  "luminance": 0.17644
}

Semantic roles & 50–950 ramp

primary
#538120
secondary
#7C49B4
accent
#44E390
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #538120

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

Preview Lab → · Contrast checker → · Palette generator →

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