#52620F#52620F

#52620F is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.7% C 0.104 H 120.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#52620F
RGBrgb(82, 98, 15)
HSLhsl(72, 73%, 22%)
HSVhsv(72, 85%, 38%)
CMYKcmyk(16.3%, 0%, 84.7%, 61.6%)
CIE-LABlab(38.84, -17.85, 41.14)
CIE-LCHlch(38.84, 44.84, 113.45°)
OKLaboklab(46.67% -0.0531 0.0899)
OKLCHoklch(46.67% 0.104 120.6)
XYZxyz(7.9337, 10.5637, 2.0729)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52620F #1F0F62
analogous
#62490F #52620F #29620F
triadic
#52620F #0F5262 #620F52
tetradic
#52620F #0F6249 #1F0F62 #620F29
square
#52620F #0F6249 #1F0F62 #620F29
split-complementary
#52620F #0F2962 #490F62
monochromatic
#161B04 #262D07 #52620F #7E9717 #ABCC1F

Accessibility & contrast

On white

6.75
#52620F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#52620F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52620F
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52620F#FFFFFF#000000##FFFFFF
##52620F1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#675C18
Tritanopia (blue-blind)
#575C53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #52620f;
/* rgb */ color: rgb(82, 98, 15);
/* oklch */ color: oklch(46.7% 0.104 120.6);
Tailwind
colors: {
  custom: {
    50: '#868e56',
    500: '#52620f',
    950: '#000000',
  },
}
SCSS
$custom: #52620f;
$custom-light: #868e56;
$custom-dark: #000000;
JSON
{
  "hex": "#52620f",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 15
  },
  "hsl": {
    "h": 71.566,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46665,
    "c": 0.10439,
    "h": 120.6
  },
  "luminance": 0.10564
}

Semantic roles & 50–950 ramp

primary
#52620F
secondary
#46329B
accent
#38F05B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #52620F

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

Preview Lab → · Contrast checker → · Palette generator →

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