#52681A#52681A

#52681A is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.106 H 124.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#52681A
RGBrgb(82, 104, 26)
HSLhsl(77, 60%, 25%)
HSVhsv(77, 75%, 41%)
CMYKcmyk(21.2%, 0%, 75%, 59.2%)
CIE-LABlab(40.85, -20.42, 39.01)
CIE-LCHlch(40.85, 44.03, 117.62°)
OKLaboklab(48.31% -0.0592 0.0874)
OKLCHoklch(48.31% 0.106 124.1)
XYZxyz(8.6165, 11.7690, 2.7948)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52681A #301A68
analogous
#68571A #52681A #2B681A
triadic
#52681A #1A5268 #681A52
tetradic
#52681A #1A6857 #301A68 #681A2B
square
#52681A #1A6857 #301A68 #681A2B
split-complementary
#52681A #1A2B68 #571A68
monochromatic
#131806 #2B370E #52681A #799926 #9FCA32

Accessibility & contrast

On white

6.26
#52681A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#52681A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52681A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52681A#FFFFFF#000000##FFFFFF
##52681A1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610D
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#566359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #52681a;
/* rgb */ color: rgb(82, 104, 26);
/* oklch */ color: oklch(48.3% 0.106 124.1);
Tailwind
colors: {
  custom: {
    50: '#85935c',
    500: '#52681a',
    950: '#000000',
  },
}
SCSS
$custom: #52681a;
$custom-light: #85935c;
$custom-dark: #000000;
JSON
{
  "hex": "#52681a",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 26
  },
  "hsl": {
    "h": 76.923,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4831,
    "c": 0.10556,
    "h": 124.1
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#52681A
secondary
#5B409D
accent
#45E371
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #52681A

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

Preview Lab → · Contrast checker → · Palette generator →

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