#52671F#52671F

#52671F is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.1% C 0.100 H 124.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#52671F
RGBrgb(82, 103, 31)
HSLhsl(78, 54%, 26%)
HSVhsv(78, 70%, 40%)
CMYKcmyk(20.4%, 0%, 69.9%, 59.6%)
CIE-LABlab(40.56, -19.53, 36.57)
CIE-LCHlch(40.56, 41.46, 118.11°)
OKLaboklab(48.09% -0.0563 0.0831)
OKLCHoklch(48.09% 0.1 124.1)
XYZxyz(8.5773, 11.5932, 3.0819)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52671F #341F67
analogous
#67581F #52671F #2E671F
triadic
#52671F #1F5267 #671F52
tetradic
#52671F #1F6758 #341F67 #671F2E
square
#52671F #1F6758 #341F67 #671F2E
split-complementary
#52671F #1F2E67 #581F67
monochromatic
#131807 #2D3811 #52671F #77962D #9DC43C

Accessibility & contrast

On white

6.33
#52671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#52671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52671F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52671F#FFFFFF#000000##FFFFFF
##52671F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#6A5F25
Tritanopia (blue-blind)
#566258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #52671f;
/* rgb */ color: rgb(82, 103, 31);
/* oklch */ color: oklch(48.1% 0.100 124.1);
Tailwind
colors: {
  custom: {
    50: '#85925f',
    500: '#52671f',
    950: '#000000',
  },
}
SCSS
$custom: #52671f;
$custom-light: #85925f;
$custom-dark: #000000;
JSON
{
  "hex": "#52671f",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 77.5,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48093,
    "c": 0.10035,
    "h": 124.1
  },
  "luminance": 0.11593
}

Semantic roles & 50–950 ramp

primary
#52671F
secondary
#5F469B
accent
#4BDD75
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0D05
muted
#7C7D79

Preview Lab

Preview with #52671F

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

Preview Lab → · Contrast checker → · Palette generator →

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