#526F2F#526F2F

#526F2F is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.4% C 0.097 H 129.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#526F2F
RGBrgb(82, 111, 47)
HSLhsl(87, 41%, 31%)
HSVhsv(87, 58%, 44%)
CMYKcmyk(26.1%, 0%, 57.7%, 56.5%)
CIE-LABlab(43.31, -22.18, 31.81)
CIE-LCHlch(43.31, 38.78, 124.89°)
OKLaboklab(50.37% -0.062 0.075)
OKLCHoklch(50.37% 0.097 129.6)
XYZxyz(9.6771, 13.3677, 4.7592)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F2F #4C2F6F
analogous
#6F6C2F #526F2F #326F2F
triadic
#526F2F #2F526F #6F2F52
tetradic
#526F2F #2F6F6C #4C2F6F #6F2F32
square
#526F2F #2F6F6C #4C2F6F #6F2F32
split-complementary
#526F2F #2F326F #6C2F6F
monochromatic
#12190B #32441D #526F2F #729A41 #91BB5E

Accessibility & contrast

On white

5.72
#526F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#526F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526F2F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526F2F#FFFFFF#000000##FFFFFF
##526F2F1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746829
Deuteranopia (green-blind)
#706633
Tritanopia (blue-blind)
#546A61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f2f;
/* rgb */ color: rgb(82, 111, 47);
/* oklch */ color: oklch(50.4% 0.097 129.6);
Tailwind
colors: {
  custom: {
    50: '#84986a',
    500: '#526f2f',
    950: '#000000',
  },
}
SCSS
$custom: #526f2f;
$custom-light: #84986a;
$custom-dark: #000000;
JSON
{
  "hex": "#526f2f",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 87.188,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5037,
    "c": 0.09733,
    "h": 129.6
  },
  "luminance": 0.13368
}

Semantic roles & 50–950 ramp

primary
#526F2F
secondary
#7A59A0
accent
#57D08E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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