#538022#538022

#538022 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.8% C 0.132 H 131.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#538022
RGBrgb(83, 128, 34)
HSLhsl(89, 58%, 32%)
HSVhsv(89, 73%, 50%)
CMYKcmyk(35.2%, 0%, 73.4%, 49.8%)
CIE-LABlab(48.75, -31.26, 43.74)
CIE-LCHlch(48.75, 53.76, 125.55°)
OKLaboklab(54.77% -0.0882 0.0986)
OKLCHoklch(54.77% 0.132 131.8)
XYZxyz(11.5751, 17.3924, 4.2603)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538022 #4F2280
analogous
#807E22 #538022 #248022
triadic
#538022 #225380 #802253
tetradic
#538022 #22807E #4F2280 #802224
square
#538022 #22807E #4F2280 #802224
split-complementary
#538022 #222480 #7E2280
monochromatic
#141F08 #345015 #538022 #72B02F #91D04D

Accessibility & contrast

On white

4.69
#538022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#538022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #538022
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538022#FFFFFF#000000##FFFFFF
##5380221.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867612
Deuteranopia (green-blind)
#7F732B
Tritanopia (blue-blind)
#547B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #538022;
/* rgb */ color: rgb(83, 128, 34);
/* oklch */ color: oklch(54.8% 0.132 131.8);
Tailwind
colors: {
  custom: {
    50: '#87a563',
    500: '#538022',
    950: '#000000',
  },
}
SCSS
$custom: #538022;
$custom-light: #87a563;
$custom-dark: #000000;
JSON
{
  "hex": "#538022",
  "rgb": {
    "r": 83,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 88.723,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54766,
    "c": 0.13227,
    "h": 131.8
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#538022
secondary
#7D4BB2
accent
#47E191
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #538022

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

Preview Lab → · Contrast checker → · Palette generator →

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