#538226#538226

#538226 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.3% C 0.132 H 132.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#538226
RGBrgb(83, 130, 38)
HSLhsl(91, 55%, 33%)
HSVhsv(91, 71%, 51%)
CMYKcmyk(36.2%, 0%, 70.8%, 49%)
CIE-LABlab(49.43, -31.88, 42.80)
CIE-LCHlch(49.43, 53.37, 126.69°)
OKLaboklab(55.33% -0.0896 0.0972)
OKLCHoklch(55.33% 0.132 132.7)
XYZxyz(11.8996, 17.9437, 4.6699)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538226 #552682
analogous
#818226 #538226 #268227
triadic
#538226 #265382 #822653
tetradic
#538226 #268182 #552682 #822726
square
#538226 #268182 #552682 #822726
split-complementary
#538226 #272682 #822681
monochromatic
#17230A #355318 #538226 #71B134 #90CD55

Accessibility & contrast

On white

4.58
#538226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##538226#FFFFFF#000000##000000
##5382261.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877818
Deuteranopia (green-blind)
#81742E
Tritanopia (blue-blind)
#547D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #538226;
/* rgb */ color: rgb(83, 130, 38);
/* oklch */ color: oklch(55.3% 0.132 132.7);
Tailwind
colors: {
  custom: {
    50: '#87a666',
    500: '#538226',
    950: '#000000',
  },
}
SCSS
$custom: #538226;
$custom-light: #87a666;
$custom-dark: #000000;
JSON
{
  "hex": "#538226",
  "rgb": {
    "r": 83,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 90.652,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55327,
    "c": 0.13218,
    "h": 132.7
  },
  "luminance": 0.17944
}

Semantic roles & 50–950 ramp

primary
#538226
secondary
#8352B2
accent
#4ADE96
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #538226

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

Preview Lab → · Contrast checker → · Palette generator →

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