#52991F#52991F

#52991F is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.3% C 0.167 H 135.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#52991F
RGBrgb(82, 153, 31)
HSLhsl(95, 66%, 36%)
HSVhsv(95, 80%, 60%)
CMYKcmyk(46.4%, 0%, 79.7%, 40%)
CIE-LABlab(56.76, -42.70, 52.59)
CIE-LCHlch(56.76, 67.74, 129.07°)
OKLaboklab(61.3% -0.1192 0.1167)
OKLCHoklch(61.3% 0.167 135.6)
XYZxyz(15.1179, 24.6743, 5.2621)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52991F #661F99
analogous
#8F991F #52991F #1F9929
triadic
#52991F #1F5299 #991F52
tetradic
#52991F #1F8F99 #661F99 #99291F
square
#52991F #1F8F99 #661F99 #99291F
split-complementary
#52991F #291F99 #991F8F
monochromatic
#1B330A #376615 #52991F #6DCC29 #8EDD56

Accessibility & contrast

On white

3.54
#52991F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#52991F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52991F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52991F#FFFFFF#000000##000000
##52991F1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#95862D
Tritanopia (blue-blind)
#4F9382
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #52991f;
/* rgb */ color: rgb(82, 153, 31);
/* oklch */ color: oklch(61.3% 0.167 135.6);
Tailwind
colors: {
  custom: {
    50: '#89b765',
    500: '#52991f',
    950: '#000000',
  },
}
SCSS
$custom: #52991f;
$custom-light: #89b765;
$custom-dark: #000000;
JSON
{
  "hex": "#52991f",
  "rgb": {
    "r": 82,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 94.918,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.613,
    "c": 0.16682,
    "h": 135.6
  },
  "luminance": 0.24675
}

Semantic roles & 50–950 ramp

primary
#52991F
secondary
#9354C0
accent
#3FE9A2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52991F

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

Preview Lab → · Contrast checker → · Palette generator →

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