#52891B#52891B

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

Color values

HEX#52891B
RGBrgb(82, 137, 27)
HSLhsl(90, 67%, 32%)
HSVhsv(90, 80%, 54%)
CMYKcmyk(40.1%, 0%, 80.3%, 46.3%)
CIE-LABlab(51.57, -36.15, 49.00)
CIE-LCHlch(51.57, 60.89, 126.42°)
OKLaboklab(57.04% -0.1019 0.1085)
OKLCHoklch(57.04% 0.149 133.2)
XYZxyz(12.6230, 19.7637, 4.1864)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52891B #521B89
analogous
#89891B #52891B #1B891B
triadic
#52891B #1B5289 #891B52
tetradic
#52891B #1B8989 #521B89 #891B1B
square
#52891B #1B8989 #521B89 #891B1B
split-complementary
#52891B #1B1B89 #891B89
monochromatic
#152307 #335611 #52891B #71BC25 #8FDA44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52891B#FFFFFF#000000##000000
##52891B1.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)
#877927
Tritanopia (blue-blind)
#528375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #52891b;
/* rgb */ color: rgb(82, 137, 27);
/* oklch */ color: oklch(57.0% 0.149 133.2);
Tailwind
colors: {
  custom: {
    50: '#88ac61',
    500: '#52891b',
    950: '#000000',
  },
}
SCSS
$custom: #52891b;
$custom-light: #88ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#52891b",
  "rgb": {
    "r": 82,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 90,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5704,
    "c": 0.14883,
    "h": 133.2
  },
  "luminance": 0.19764
}

Semantic roles & 50–950 ramp

primary
#52891B
secondary
#8044BC
accent
#3EEA94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #52891B

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

Preview Lab → · Contrast checker → · Palette generator →

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