#52641F#52641F

#52641F is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.3% C 0.096 H 122.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#52641F
RGBrgb(82, 100, 31)
HSLhsl(76, 53%, 26%)
HSVhsv(76, 69%, 39%)
CMYKcmyk(18%, 0%, 69%, 60.8%)
CIE-LABlab(39.59, -17.93, 35.55)
CIE-LCHlch(39.59, 39.82, 116.77°)
OKLaboklab(47.31% -0.0518 0.0809)
OKLCHoklch(47.31% 0.096 122.6)
XYZxyz(8.2843, 11.0071, 2.9842)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52641F #311F64
analogous
#64531F #52641F #2F641F
triadic
#52641F #1F5264 #641F52
tetradic
#52641F #1F6453 #311F64 #641F2F
square
#52641F #1F6453 #311F64 #641F2F
split-complementary
#52641F #1F2F64 #531F64
monochromatic
#131707 #2C3511 #52641F #78932D #9FC13C

Accessibility & contrast

On white

6.56
#52641F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#52641F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52641F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52641F#FFFFFF#000000##FFFFFF
##52641F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E16
Deuteranopia (green-blind)
#685D24
Tritanopia (blue-blind)
#565F56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #52641f;
/* rgb */ color: rgb(82, 100, 31);
/* oklch */ color: oklch(47.3% 0.096 122.6);
Tailwind
colors: {
  custom: {
    50: '#85905f',
    500: '#52641f',
    950: '#000000',
  },
}
SCSS
$custom: #52641f;
$custom-light: #85905f;
$custom-dark: #000000;
JSON
{
  "hex": "#52641f",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 75.652,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4731,
    "c": 0.09612,
    "h": 122.6
  },
  "luminance": 0.11007
}

Semantic roles & 50–950 ramp

primary
#52641F
secondary
#5C4698
accent
#4CDC71
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #52641F

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

Preview Lab → · Contrast checker → · Palette generator →

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