#525F2F#525F2F

#525F2F is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.2% C 0.072 H 121.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#525F2F
RGBrgb(82, 95, 47)
HSLhsl(76, 34%, 28%)
HSVhsv(76, 51%, 37%)
CMYKcmyk(13.7%, 0%, 50.5%, 62.7%)
CIE-LABlab(38.17, -13.59, 25.67)
CIE-LCHlch(38.17, 29.05, 117.91°)
OKLaboklab(46.23% -0.0381 0.0615)
OKLCHoklch(46.23% 0.072 121.7)
XYZxyz(8.0850, 10.1835, 4.2284)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525F2F #3C2F5F
analogous
#5F542F #525F2F #3A5F2F
triadic
#525F2F #2F525F #5F2F52
tetradic
#525F2F #2F5F54 #3C2F5F #5F2F3A
square
#525F2F #2F5F54 #3C2F5F #5F2F3A
split-complementary
#525F2F #2F3A5F #542F5F
monochromatic
#12140A #2F361B #525F2F #758843 #97AE5B

Accessibility & contrast

On white

6.92
#525F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#525F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525F2F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525F2F#FFFFFF#000000##FFFFFF
##525F2F1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2B
Deuteranopia (green-blind)
#625A32
Tritanopia (blue-blind)
#565B54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #525f2f;
/* rgb */ color: rgb(82, 95, 47);
/* oklch */ color: oklch(46.2% 0.072 121.7);
Tailwind
colors: {
  custom: {
    50: '#848c69',
    500: '#525f2f',
    950: '#000000',
  },
}
SCSS
$custom: #525f2f;
$custom-light: #848c69;
$custom-dark: #000000;
JSON
{
  "hex": "#525f2f",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 47
  },
  "hsl": {
    "h": 76.25,
    "s": 33.803,
    "l": 27.843
  },
  "oklch": {
    "l": 0.46225,
    "c": 0.07235,
    "h": 121.7
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

primary
#525F2F
secondary
#685991
accent
#5ECA7B
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #525F2F

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

Preview Lab → · Contrast checker → · Palette generator →

#525F2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva