#52931B#52931B

#52931B is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 59.7% C 0.161 H 134.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#52931B
RGBrgb(82, 147, 27)
HSLhsl(93, 69%, 34%)
HSVhsv(93, 82%, 58%)
CMYKcmyk(44.2%, 0%, 81.6%, 42.4%)
CIE-LABlab(54.80, -40.43, 52.00)
CIE-LCHlch(54.80, 65.87, 127.86°)
OKLaboklab(59.69% -0.1134 0.1148)
OKLCHoklch(59.69% 0.161 134.6)
XYZxyz(14.1109, 22.7396, 4.6823)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52931B #5C1B93
analogous
#8E931B #52931B #1B9320
triadic
#52931B #1B5293 #931B52
tetradic
#52931B #1B8E93 #5C1B93 #93201B
square
#52931B #1B8E93 #5C1B93 #93201B
split-complementary
#52931B #201B93 #931B8E
monochromatic
#182C08 #355F12 #52931B #6FC724 #8EDE4B

Accessibility & contrast

On white

3.79
#52931B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#52931B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52931B
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52931B#FFFFFF#000000##000000
##52931B1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#518D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #52931b;
/* rgb */ color: rgb(82, 147, 27);
/* oklch */ color: oklch(59.7% 0.161 134.6);
Tailwind
colors: {
  custom: {
    50: '#89b363',
    500: '#52931b',
    950: '#000000',
  },
}
SCSS
$custom: #52931b;
$custom-light: #89b363;
$custom-dark: #000000;
JSON
{
  "hex": "#52931b",
  "rgb": {
    "r": 82,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 92.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5969,
    "c": 0.16138,
    "h": 134.6
  },
  "luminance": 0.2274
}

Semantic roles & 50–950 ramp

primary
#52931B
secondary
#8A4AC0
accent
#3CEC9B
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52931B

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

Preview Lab → · Contrast checker → · Palette generator →

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