#538C22#538C22

#538C22 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.148 H 134.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#538C22
RGBrgb(83, 140, 34)
HSLhsl(92, 61%, 34%)
HSVhsv(92, 76%, 55%)
CMYKcmyk(40.7%, 0%, 75.7%, 45.1%)
CIE-LABlab(52.63, -36.67, 47.61)
CIE-LCHlch(52.63, 60.10, 127.60°)
OKLaboklab(57.94% -0.1029 0.1067)
OKLCHoklch(57.94% 0.148 134)
XYZxyz(13.2339, 20.7100, 4.8132)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538C22 #5B228C
analogous
#888C22 #538C22 #228C26
triadic
#538C22 #22538C #8C2253
tetradic
#538C22 #22888C #5B228C #8C2622
square
#538C22 #22888C #5B228C #8C2622
split-complementary
#538C22 #26228C #8C2288
monochromatic
#192A0A #365B16 #538C22 #70BD2E #8FD553

Accessibility & contrast

On white

4.08
#538C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#538C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538C22
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538C22#FFFFFF#000000##000000
##538C221.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810D
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#538678
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538c22;
/* rgb */ color: rgb(83, 140, 34);
/* oklch */ color: oklch(57.9% 0.148 134.0);
Tailwind
colors: {
  custom: {
    50: '#88ae65',
    500: '#538c22',
    950: '#000000',
  },
}
SCSS
$custom: #538c22;
$custom-light: #88ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#538c22",
  "rgb": {
    "r": 83,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 92.264,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57935,
    "c": 0.14819,
    "h": 134
  },
  "luminance": 0.20711
}

Semantic roles & 50–950 ramp

primary
#538C22
secondary
#8951B9
accent
#44E49A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538C22

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

Preview Lab → · Contrast checker → · Palette generator →

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