#52891A#52891A

#52891A is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.149 H 133.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#52891A
RGBrgb(82, 137, 26)
HSLhsl(90, 68%, 32%)
HSVhsv(90, 81%, 54%)
CMYKcmyk(40.1%, 0%, 81%, 46.3%)
CIE-LABlab(51.56, -36.20, 49.31)
CIE-LCHlch(51.56, 61.17, 126.28°)
OKLaboklab(57.03% -0.1021 0.109)
OKLCHoklch(57.03% 0.149 133.1)
XYZxyz(12.6116, 19.7591, 4.1265)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52891A #511A89
analogous
#89891A #52891A #1A891A
triadic
#52891A #1A5289 #891A52
tetradic
#52891A #1A8989 #511A89 #891A1A
square
#52891A #1A8989 #511A89 #891A1A
split-complementary
#52891A #1A1A89 #891A89
monochromatic
#142206 #335610 #52891A #71BC24 #8FDB42

Accessibility & contrast

On white

4.24
#52891A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#52891A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52891A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52891A#FFFFFF#000000##000000
##52891A1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#528375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #52891a;
/* rgb */ color: rgb(82, 137, 26);
/* oklch */ color: oklch(57.0% 0.149 133.1);
Tailwind
colors: {
  custom: {
    50: '#88ac61',
    500: '#52891a',
    950: '#000000',
  },
}
SCSS
$custom: #52891a;
$custom-light: #88ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#52891a",
  "rgb": {
    "r": 82,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 89.73,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.14934,
    "h": 133.1
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#52891A
secondary
#7F43BC
accent
#3DEB93
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #52891A

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

Preview Lab → · Contrast checker → · Palette generator →

#52891A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva