#538121#538121

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

Color values

HEX#538121
RGBrgb(83, 129, 33)
HSLhsl(89, 59%, 32%)
HSVhsv(89, 74%, 51%)
CMYKcmyk(35.7%, 0%, 74.4%, 49.4%)
CIE-LABlab(49.07, -31.80, 44.45)
CIE-LCHlch(49.07, 54.65, 125.57°)
OKLaboklab(55.02% -0.0897 0.0999)
OKLCHoklch(55.02% 0.134 131.9)
XYZxyz(11.6919, 17.6489, 4.2291)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538121 #4F2181
analogous
#817F21 #538121 #238121
triadic
#538121 #215381 #812153
tetradic
#538121 #21817F #4F2181 #812123
square
#538121 #21817F #4F2181 #812123
split-complementary
#538121 #212381 #7F2181
monochromatic
#142008 #345015 #538121 #72B22D #91D14B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538121#FFFFFF#000000##FFFFFF
##5381211.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)
#877710
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#547B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #538121;
/* rgb */ color: rgb(83, 129, 33);
/* oklch */ color: oklch(55.0% 0.134 131.9);
Tailwind
colors: {
  custom: {
    50: '#87a663',
    500: '#538121',
    950: '#000000',
  },
}
SCSS
$custom: #538121;
$custom-light: #87a663;
$custom-dark: #000000;
JSON
{
  "hex": "#538121",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 88.75,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55022,
    "c": 0.13429,
    "h": 131.9
  },
  "luminance": 0.17649
}

Semantic roles & 50–950 ramp

primary
#538121
secondary
#7D4AB4
accent
#45E291
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #538121

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

Preview Lab → · Contrast checker → · Palette generator →

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