#52791D#52791D

#52791D is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.8% C 0.127 H 130.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#52791D
RGBrgb(82, 121, 29)
HSLhsl(85, 61%, 29%)
HSVhsv(85, 76%, 47%)
CMYKcmyk(32.2%, 0%, 76%, 52.5%)
CIE-LABlab(46.39, -28.70, 43.32)
CIE-LCHlch(46.39, 51.96, 123.53°)
OKLaboklab(52.81% -0.0816 0.0969)
OKLCHoklch(52.81% 0.127 130.1)
XYZxyz(10.5388, 15.5570, 3.6097)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52791D #441D79
analogous
#79721D #52791D #24791D
triadic
#52791D #1D5279 #791D52
tetradic
#52791D #1D7972 #441D79 #791D24
square
#52791D #1D7972 #441D79 #791D24
split-complementary
#52791D #1D2479 #721D79
monochromatic
#111906 #314811 #52791D #73AA29 #93D13F

Accessibility & contrast

On white

5.11
#52791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#52791D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52791D
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52791D#FFFFFF#000000##FFFFFF
##52791D1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700B
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#547467
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #52791d;
/* rgb */ color: rgb(82, 121, 29);
/* oklch */ color: oklch(52.8% 0.127 130.1);
Tailwind
colors: {
  custom: {
    50: '#86a060',
    500: '#52791d',
    950: '#000000',
  },
}
SCSS
$custom: #52791d;
$custom-light: #86a060;
$custom-dark: #000000;
JSON
{
  "hex": "#52791d",
  "rgb": {
    "r": 82,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 85.435,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52814,
    "c": 0.12669,
    "h": 130.1
  },
  "luminance": 0.15557
}

Semantic roles & 50–950 ramp

primary
#52791D
secondary
#7145AD
accent
#43E488
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #52791D

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

Preview Lab → · Contrast checker → · Palette generator →

#52791D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva