#52891D#52891D

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

Color values

HEX#52891D
RGBrgb(82, 137, 29)
HSLhsl(91, 65%, 33%)
HSVhsv(91, 79%, 54%)
CMYKcmyk(40.1%, 0%, 78.8%, 46.3%)
CIE-LABlab(51.58, -36.03, 48.34)
CIE-LCHlch(51.58, 60.29, 126.70°)
OKLaboklab(57.05% -0.1014 0.1075)
OKLCHoklch(57.05% 0.148 133.3)
XYZxyz(12.6469, 19.7733, 4.3124)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52891D #541D89
analogous
#88891D #52891D #1D891E
triadic
#52891D #1D5289 #891D52
tetradic
#52891D #1D8889 #541D89 #891E1D
square
#52891D #1D8889 #541D89 #891E1D
split-complementary
#52891D #1E1D89 #891D88
monochromatic
#162408 #345612 #52891D #70BC28 #8FD848

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52891D#FFFFFF#000000##000000
##52891D1.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)
#8F7E02
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#528375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #52891d;
/* rgb */ color: rgb(82, 137, 29);
/* oklch */ color: oklch(57.1% 0.148 133.3);
Tailwind
colors: {
  custom: {
    50: '#88ac62',
    500: '#52891d',
    950: '#000000',
  },
}
SCSS
$custom: #52891d;
$custom-light: #88ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#52891d",
  "rgb": {
    "r": 82,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 90.556,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57052,
    "c": 0.14775,
    "h": 133.3
  },
  "luminance": 0.19774
}

Semantic roles & 50–950 ramp

primary
#52891D
secondary
#8247BA
accent
#40E895
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #52891D

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

Preview Lab → · Contrast checker → · Palette generator →

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