#52931F#52931F

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

Color values

HEX#52931F
RGBrgb(82, 147, 31)
HSLhsl(94, 65%, 35%)
HSVhsv(94, 79%, 58%)
CMYKcmyk(44.2%, 0%, 78.9%, 42.4%)
CIE-LABlab(54.82, -40.21, 50.76)
CIE-LCHlch(54.82, 64.76, 128.38°)
OKLaboklab(59.71% -0.1125 0.1128)
OKLCHoklch(59.71% 0.159 134.9)
XYZxyz(14.1604, 22.7594, 4.9429)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52931F #601F93
analogous
#8C931F #52931F #1F9326
triadic
#52931F #1F5293 #931F52
tetradic
#52931F #1F8C93 #601F93 #93261F
square
#52931F #1F8C93 #601F93 #93261F
split-complementary
#52931F #261F93 #931F8C
monochromatic
#1A2E0A #366014 #52931F #6EC62A #8EDA52

Accessibility & contrast

On white

3.78
#52931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##52931F#FFFFFF#000000##000000
##52931F1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#508D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #52931f;
/* rgb */ color: rgb(82, 147, 31);
/* oklch */ color: oklch(59.7% 0.159 134.9);
Tailwind
colors: {
  custom: {
    50: '#89b364',
    500: '#52931f',
    950: '#000000',
  },
}
SCSS
$custom: #52931f;
$custom-light: #89b364;
$custom-dark: #000000;
JSON
{
  "hex": "#52931f",
  "rgb": {
    "r": 82,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 93.621,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59713,
    "c": 0.15937,
    "h": 134.9
  },
  "luminance": 0.2276
}

Semantic roles & 50–950 ramp

primary
#52931F
secondary
#8E50BE
accent
#40E89E
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52931F

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

Preview Lab → · Contrast checker → · Palette generator →

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