#52681B#52681B

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

Color values

HEX#52681B
RGBrgb(82, 104, 27)
HSLhsl(77, 59%, 26%)
HSVhsv(77, 74%, 41%)
CMYKcmyk(21.2%, 0%, 74%, 59.2%)
CIE-LABlab(40.85, -20.35, 38.61)
CIE-LCHlch(40.85, 43.64, 117.79°)
OKLaboklab(48.32% -0.0589 0.0867)
OKLCHoklch(48.32% 0.105 124.2)
XYZxyz(8.6279, 11.7735, 2.8547)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52681B #311B68
analogous
#68571B #52681B #2B681B
triadic
#52681B #1B5268 #681B52
tetradic
#52681B #1B6857 #311B68 #681B2B
square
#52681B #1B6857 #311B68 #681B2B
split-complementary
#52681B #1B2B68 #571B68
monochromatic
#131806 #2C370E #52681B #789928 #9FC934

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52681B#FFFFFF#000000##FFFFFF
##52681B1.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)
#6E610E
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#566359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #52681b;
/* rgb */ color: rgb(82, 104, 27);
/* oklch */ color: oklch(48.3% 0.105 124.2);
Tailwind
colors: {
  custom: {
    50: '#85935d',
    500: '#52681b',
    950: '#000000',
  },
}
SCSS
$custom: #52681b;
$custom-light: #85935d;
$custom-dark: #000000;
JSON
{
  "hex": "#52681b",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 77.143,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48319,
    "c": 0.10484,
    "h": 124.2
  },
  "luminance": 0.11774
}

Semantic roles & 50–950 ramp

primary
#52681B
secondary
#5C429D
accent
#46E272
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #52681B

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

Preview Lab → · Contrast checker → · Palette generator →

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