#52741B#52741B

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

Color values

HEX#52741B
RGBrgb(82, 116, 27)
HSLhsl(83, 62%, 28%)
HSVhsv(83, 77%, 45%)
CMYKcmyk(29.3%, 0%, 76.7%, 54.5%)
CIE-LABlab(44.75, -26.42, 42.47)
CIE-LCHlch(44.75, 50.02, 121.88°)
OKLaboklab(51.48% -0.0755 0.0948)
OKLCHoklch(51.48% 0.121 128.5)
XYZxyz(9.9229, 14.3635, 3.2863)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52741B #3D1B74
analogous
#74691B #52741B #26741B
triadic
#52741B #1B5274 #741B52
tetradic
#52741B #1B7469 #3D1B74 #741B26
square
#52741B #1B7469 #3D1B74 #741B26
split-complementary
#52741B #1B2674 #691B74
monochromatic
#121906 #2F420F #52741B #75A627 #97D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52741B#FFFFFF#000000##FFFFFF
##52741B1.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)
#7A6B09
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#556F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #52741b;
/* rgb */ color: rgb(82, 116, 27);
/* oklch */ color: oklch(51.5% 0.121 128.5);
Tailwind
colors: {
  custom: {
    50: '#869c5e',
    500: '#52741b',
    950: '#000000',
  },
}
SCSS
$custom: #52741b;
$custom-light: #869c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#52741b",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 82.921,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.12123,
    "h": 128.5
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#52741B
secondary
#6942A9
accent
#42E581
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #52741B

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

Preview Lab → · Contrast checker → · Palette generator →

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