#538122#538122

#538122 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.0% C 0.134 H 132.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#538122
RGBrgb(83, 129, 34)
HSLhsl(89, 58%, 32%)
HSVhsv(89, 74%, 51%)
CMYKcmyk(35.7%, 0%, 73.6%, 49.4%)
CIE-LABlab(49.07, -31.72, 44.07)
CIE-LCHlch(49.07, 54.30, 125.75°)
OKLaboklab(55.03% -0.0894 0.0993)
OKLCHoklch(55.03% 0.134 132)
XYZxyz(11.7061, 17.6545, 4.3040)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538122 #502281
analogous
#818022 #538122 #238122
triadic
#538122 #225381 #812253
tetradic
#538122 #228180 #502281 #812223
square
#538122 #228180 #502281 #812223
split-complementary
#538122 #222381 #802281
monochromatic
#152008 #345115 #538122 #72B12F #91D04D

Accessibility & contrast

On white

4.63
#538122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#538122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #538122
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538122#FFFFFF#000000##FFFFFF
##5381221.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877712
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#547C6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #538122;
/* rgb */ color: rgb(83, 129, 34);
/* oklch */ color: oklch(55.0% 0.134 132.0);
Tailwind
colors: {
  custom: {
    50: '#87a664',
    500: '#538122',
    950: '#000000',
  },
}
SCSS
$custom: #538122;
$custom-light: #87a664;
$custom-dark: #000000;
JSON
{
  "hex": "#538122",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 89.053,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5503,
    "c": 0.13363,
    "h": 132
  },
  "luminance": 0.17655
}

Semantic roles & 50–950 ramp

primary
#538122
secondary
#7E4BB3
accent
#46E191
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #538122

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

Preview Lab → · Contrast checker → · Palette generator →

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