#52741C#52741C

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

Color values

HEX#52741C
RGBrgb(82, 116, 28)
HSLhsl(83, 61%, 28%)
HSVhsv(83, 76%, 45%)
CMYKcmyk(29.3%, 0%, 75.9%, 54.5%)
CIE-LABlab(44.76, -26.35, 42.09)
CIE-LCHlch(44.76, 49.66, 122.05°)
OKLaboklab(51.49% -0.0753 0.0942)
OKLCHoklch(51.49% 0.121 128.6)
XYZxyz(9.9347, 14.3682, 3.3483)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52741C #3E1C74
analogous
#746A1C #52741C #26741C
triadic
#52741C #1C5274 #741C52
tetradic
#52741C #1C746A #3E1C74 #741C26
square
#52741C #1C746A #3E1C74 #741C26
split-complementary
#52741C #1C2674 #6A1C74
monochromatic
#111906 #2F4310 #52741C #75A528 #96D03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52741C#FFFFFF#000000##FFFFFF
##52741C1.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)
#7A6B0B
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#556F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #52741c;
/* rgb */ color: rgb(82, 116, 28);
/* oklch */ color: oklch(51.5% 0.121 128.6);
Tailwind
colors: {
  custom: {
    50: '#869c5f',
    500: '#52741c',
    950: '#000000',
  },
}
SCSS
$custom: #52741c;
$custom-light: #869c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#52741c",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 83.182,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51485,
    "c": 0.12057,
    "h": 128.6
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#52741C
secondary
#6A43A8
accent
#44E482
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #52741C

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

Preview Lab → · Contrast checker → · Palette generator →

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