#52751A#52751A

#52751A is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.7% C 0.123 H 128.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#52751A
RGBrgb(82, 117, 26)
HSLhsl(83, 64%, 28%)
HSVhsv(83, 78%, 46%)
CMYKcmyk(29.9%, 0%, 77.8%, 54.1%)
CIE-LABlab(45.07, -26.97, 43.15)
CIE-LCHlch(45.07, 50.89, 122.00°)
OKLaboklab(51.73% -0.0771 0.0961)
OKLCHoklch(51.73% 0.123 128.7)
XYZxyz(10.0274, 14.5907, 3.2651)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52751A #3D1A75
analogous
#756A1A #52751A #24751A
triadic
#52751A #1A5275 #751A52
tetradic
#52751A #1A756A #3D1A75 #751A24
square
#52751A #1A756A #3D1A75 #751A24
split-complementary
#52751A #1A2475 #6A1A75
monochromatic
#121906 #2F430F #52751A #75A725 #97D337

Accessibility & contrast

On white

5.36
#52751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#52751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52751A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52751A#FFFFFF#000000##FFFFFF
##52751A1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C07
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#556F64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #52751a;
/* rgb */ color: rgb(82, 117, 26);
/* oklch */ color: oklch(51.7% 0.123 128.7);
Tailwind
colors: {
  custom: {
    50: '#869d5e',
    500: '#52751a',
    950: '#000000',
  },
}
SCSS
$custom: #52751a;
$custom-light: #869d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#52751a",
  "rgb": {
    "r": 82,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 83.077,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.1232,
    "h": 128.7
  },
  "luminance": 0.14591
}

Semantic roles & 50–950 ramp

primary
#52751A
secondary
#6941AA
accent
#41E781
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #52751A

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

Preview Lab → · Contrast checker → · Palette generator →

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