#538229#538229

#538229 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.4% C 0.130 H 133.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#538229
RGBrgb(83, 130, 41)
HSLhsl(92, 52%, 34%)
HSVhsv(92, 68%, 51%)
CMYKcmyk(36.2%, 0%, 68.5%, 49%)
CIE-LABlab(49.45, -31.64, 41.54)
CIE-LCHlch(49.45, 52.22, 127.29°)
OKLaboklab(55.36% -0.0886 0.095)
OKLCHoklch(55.36% 0.13 133)
XYZxyz(11.9500, 17.9639, 4.9351)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538229 #582982
analogous
#7F8229 #538229 #29822B
triadic
#538229 #295382 #822953
tetradic
#538229 #297F82 #582982 #822B29
square
#538229 #297F82 #582982 #822B29
split-complementary
#538229 #2B2982 #82297F
monochromatic
#18250C #35531A #538229 #71B138 #90CB5A

Accessibility & contrast

On white

4.57
#538229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#538229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538229
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538229#FFFFFF#000000##000000
##5382291.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781D
Deuteranopia (green-blind)
#817430
Tritanopia (blue-blind)
#537D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #538229;
/* rgb */ color: rgb(83, 130, 41);
/* oklch */ color: oklch(55.4% 0.130 133.0);
Tailwind
colors: {
  custom: {
    50: '#87a668',
    500: '#538229',
    950: '#000000',
  },
}
SCSS
$custom: #538229;
$custom-light: #87a668;
$custom-dark: #000000;
JSON
{
  "hex": "#538229",
  "rgb": {
    "r": 83,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 91.685,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.12992,
    "h": 133
  },
  "luminance": 0.17964
}

Semantic roles & 50–950 ramp

primary
#538229
secondary
#8656B0
accent
#4CDB98
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #538229

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

Preview Lab → · Contrast checker → · Palette generator →

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