#538722#538722

#538722 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.6% C 0.142 H 133.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#538722
RGBrgb(83, 135, 34)
HSLhsl(91, 60%, 33%)
HSVhsv(91, 75%, 53%)
CMYKcmyk(38.5%, 0%, 74.8%, 47.1%)
CIE-LABlab(51.02, -34.46, 46.01)
CIE-LCHlch(51.02, 57.48, 126.83°)
OKLaboklab(56.61% -0.0969 0.1033)
OKLCHoklch(56.61% 0.142 133.1)
XYZxyz(12.5198, 19.2819, 4.5752)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538722 #562287
analogous
#858722 #538722 #228723
triadic
#538722 #225387 #872253
tetradic
#538722 #228587 #562287 #872322
square
#538722 #228587 #562287 #872322
split-complementary
#538722 #232287 #872285
monochromatic
#172509 #355616 #538722 #71B82E #90D350

Accessibility & contrast

On white

4.32
#538722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#538722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538722
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538722#FFFFFF#000000##000000
##5387221.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0F
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#538173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #538722;
/* rgb */ color: rgb(83, 135, 34);
/* oklch */ color: oklch(56.6% 0.142 133.1);
Tailwind
colors: {
  custom: {
    50: '#88aa64',
    500: '#538722',
    950: '#000000',
  },
}
SCSS
$custom: #538722;
$custom-light: #88aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#538722",
  "rgb": {
    "r": 83,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 90.891,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56614,
    "c": 0.14164,
    "h": 133.1
  },
  "luminance": 0.19282
}

Semantic roles & 50–950 ramp

primary
#538722
secondary
#844EB7
accent
#45E396
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538722

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

Preview Lab → · Contrast checker → · Palette generator →

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