#52681F#52681F

#52681F is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.4% C 0.102 H 124.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#52681F
RGBrgb(82, 104, 31)
HSLhsl(78, 54%, 26%)
HSVhsv(78, 70%, 41%)
CMYKcmyk(21.2%, 0%, 70.2%, 59.2%)
CIE-LABlab(40.89, -20.06, 36.91)
CIE-LCHlch(40.89, 42.01, 118.52°)
OKLaboklab(48.35% -0.0577 0.0838)
OKLCHoklch(48.35% 0.102 124.6)
XYZxyz(8.6774, 11.7933, 3.1152)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52681F #351F68
analogous
#685A1F #52681F #2E681F
triadic
#52681F #1F5268 #681F52
tetradic
#52681F #1F685A #351F68 #681F2E
square
#52681F #1F685A #351F68 #681F2E
split-complementary
#52681F #1F2E68 #5A1F68
monochromatic
#131807 #2D3911 #52681F #77972D #9CC53C

Accessibility & contrast

On white

6.25
#52681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#52681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52681F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52681F#FFFFFF#000000##FFFFFF
##52681F1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52681f;
/* rgb */ color: rgb(82, 104, 31);
/* oklch */ color: oklch(48.4% 0.102 124.6);
Tailwind
colors: {
  custom: {
    50: '#85935f',
    500: '#52681f',
    950: '#000000',
  },
}
SCSS
$custom: #52681f;
$custom-light: #85935f;
$custom-dark: #000000;
JSON
{
  "hex": "#52681f",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 78.082,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48354,
    "c": 0.10175,
    "h": 124.6
  },
  "luminance": 0.11793
}

Semantic roles & 50–950 ramp

primary
#52681F
secondary
#60469C
accent
#4ADD77
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #52681F

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

Preview Lab → · Contrast checker → · Palette generator →

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