#52951B#52951B

#52951B is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.2% C 0.164 H 134.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#52951B
RGBrgb(82, 149, 27)
HSLhsl(93, 69%, 35%)
HSVhsv(93, 82%, 58%)
CMYKcmyk(45%, 0%, 81.9%, 41.6%)
CIE-LABlab(55.45, -41.27, 52.60)
CIE-LCHlch(55.45, 66.85, 128.12°)
OKLaboklab(60.22% -0.1156 0.1161)
OKLCHoklch(60.22% 0.164 134.9)
XYZxyz(14.4246, 23.3670, 4.7869)
Luminance0.2337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52951B #5E1B95
analogous
#8F951B #52951B #1B9521
triadic
#52951B #1B5295 #951B52
tetradic
#52951B #1B8F95 #5E1B95 #95211B
square
#52951B #1B8F95 #5E1B95 #95211B
split-complementary
#52951B #211B95 #951B8F
monochromatic
#192D08 #356112 #52951B #6FC924 #8EDF4C

Accessibility & contrast

On white

3.70
#52951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#52951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52951B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52951B#FFFFFF#000000##000000
##52951B1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#508F7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #52951b;
/* rgb */ color: rgb(82, 149, 27);
/* oklch */ color: oklch(60.2% 0.164 134.9);
Tailwind
colors: {
  custom: {
    50: '#89b563',
    500: '#52951b',
    950: '#000000',
  },
}
SCSS
$custom: #52951b;
$custom-light: #89b563;
$custom-dark: #000000;
JSON
{
  "hex": "#52951b",
  "rgb": {
    "r": 82,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 92.951,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60219,
    "c": 0.16384,
    "h": 134.9
  },
  "luminance": 0.23368
}

Semantic roles & 50–950 ramp

primary
#52951B
secondary
#8C4BC1
accent
#3CEC9D
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52951B

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

Preview Lab → · Contrast checker → · Palette generator →

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