#538F22#538F22

#538F22 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.7% C 0.152 H 134.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#538F22
RGBrgb(83, 143, 34)
HSLhsl(93, 62%, 35%)
HSVhsv(93, 76%, 56%)
CMYKcmyk(42%, 0%, 76.2%, 43.9%)
CIE-LABlab(53.60, -37.97, 48.56)
CIE-LCHlch(53.60, 61.65, 128.02°)
OKLaboklab(58.73% -0.1064 0.1087)
OKLCHoklch(58.73% 0.152 134.4)
XYZxyz(13.6782, 21.5987, 4.9613)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F22 #5E228F
analogous
#898F22 #538F22 #228F28
triadic
#538F22 #22538F #8F2253
tetradic
#538F22 #22898F #5E228F #8F2822
square
#538F22 #22898F #5E228F #8F2822
split-complementary
#538F22 #28228F #8F2289
monochromatic
#1A2C0A #365E16 #538F22 #70C02E #8FD755

Accessibility & contrast

On white

3.95
#538F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#538F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538F22
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538F22#FFFFFF#000000##000000
##538F221.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830B
Deuteranopia (green-blind)
#8D7E2D
Tritanopia (blue-blind)
#52897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f22;
/* rgb */ color: rgb(83, 143, 34);
/* oklch */ color: oklch(58.7% 0.152 134.4);
Tailwind
colors: {
  custom: {
    50: '#89b065',
    500: '#538f22',
    950: '#000000',
  },
}
SCSS
$custom: #538f22;
$custom-light: #89b065;
$custom-dark: #000000;
JSON
{
  "hex": "#538f22",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 93.028,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58728,
    "c": 0.15207,
    "h": 134.4
  },
  "luminance": 0.21599
}

Semantic roles & 50–950 ramp

primary
#538F22
secondary
#8C52BA
accent
#43E59C
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538F22

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

Preview Lab → · Contrast checker → · Palette generator →

#538F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva