#538522#538522

#538522 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.1% C 0.139 H 132.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#538522
RGBrgb(83, 133, 34)
HSLhsl(90, 59%, 33%)
HSVhsv(90, 74%, 52%)
CMYKcmyk(37.6%, 0%, 74.4%, 47.8%)
CIE-LABlab(50.37, -33.55, 45.37)
CIE-LCHlch(50.37, 56.43, 126.49°)
OKLaboklab(56.09% -0.0944 0.102)
OKLCHoklch(56.09% 0.139 132.8)
XYZxyz(12.2434, 18.7290, 4.4830)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538522 #542285
analogous
#848522 #538522 #228523
triadic
#538522 #225385 #852253
tetradic
#538522 #228485 #542285 #852322
square
#538522 #228485 #542285 #852322
split-complementary
#538522 #232285 #852284
monochromatic
#162409 #355416 #538522 #71B62E #90D24F

Accessibility & contrast

On white

4.42
#538522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#538522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538522
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538522#FFFFFF#000000##000000
##5385221.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A10
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#547F72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #538522;
/* rgb */ color: rgb(83, 133, 34);
/* oklch */ color: oklch(56.1% 0.139 132.8);
Tailwind
colors: {
  custom: {
    50: '#88a964',
    500: '#538522',
    950: '#000000',
  },
}
SCSS
$custom: #538522;
$custom-light: #88a964;
$custom-dark: #000000;
JSON
{
  "hex": "#538522",
  "rgb": {
    "r": 83,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 90.303,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56086,
    "c": 0.13899,
    "h": 132.8
  },
  "luminance": 0.1873
}

Semantic roles & 50–950 ramp

primary
#538522
secondary
#824DB6
accent
#45E295
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538522

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

Preview Lab → · Contrast checker → · Palette generator →

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