#52741A#52741A

#52741A is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.5% C 0.122 H 128.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#52741A
RGBrgb(82, 116, 26)
HSLhsl(83, 63%, 28%)
HSVhsv(83, 78%, 45%)
CMYKcmyk(29.3%, 0%, 77.6%, 54.5%)
CIE-LABlab(44.74, -26.48, 42.84)
CIE-LCHlch(44.74, 50.36, 121.72°)
OKLaboklab(51.47% -0.0758 0.0954)
OKLCHoklch(51.47% 0.122 128.5)
XYZxyz(9.9115, 14.3590, 3.2264)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52741A #3C1A74
analogous
#74691A #52741A #25741A
triadic
#52741A #1A5274 #741A52
tetradic
#52741A #1A7469 #3C1A74 #741A25
square
#52741A #1A7469 #3C1A74 #741A25
split-complementary
#52741A #1A2574 #691A74
monochromatic
#121906 #2F420F #52741A #75A625 #97D236

Accessibility & contrast

On white

5.42
#52741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#52741A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52741A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52741A#FFFFFF#000000##FFFFFF
##52741A1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B07
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#556F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #52741a;
/* rgb */ color: rgb(82, 116, 26);
/* oklch */ color: oklch(51.5% 0.122 128.5);
Tailwind
colors: {
  custom: {
    50: '#869c5e',
    500: '#52741a',
    950: '#000000',
  },
}
SCSS
$custom: #52741a;
$custom-light: #869c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#52741a",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 82.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5147,
    "c": 0.12185,
    "h": 128.5
  },
  "luminance": 0.14359
}

Semantic roles & 50–950 ramp

primary
#52741A
secondary
#6841A9
accent
#41E680
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #52741A

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

Preview Lab → · Contrast checker → · Palette generator →

#52741A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva