#526F2D#526F2D

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

Color values

HEX#526F2D
RGBrgb(82, 111, 45)
HSLhsl(86, 42%, 31%)
HSVhsv(86, 59%, 44%)
CMYKcmyk(26.1%, 0%, 59.5%, 56.5%)
CIE-LABlab(43.29, -22.40, 32.81)
CIE-LCHlch(43.29, 39.73, 124.32°)
OKLaboklab(50.34% -0.0628 0.0769)
OKLCHoklch(50.34% 0.099 129.2)
XYZxyz(9.6377, 13.3520, 4.5515)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F2D #4A2D6F
analogous
#6F6B2D #526F2D #316F2D
triadic
#526F2D #2D526F #6F2D52
tetradic
#526F2D #2D6F6B #4A2D6F #6F2D31
square
#526F2D #2D6F6B #4A2D6F #6F2D31
split-complementary
#526F2D #2D316F #6B2D6F
monochromatic
#12180A #32431B #526F2D #729B3F #91BC5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526F2D#FFFFFF#000000##FFFFFF
##526F2D1.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)
#746826
Deuteranopia (green-blind)
#706631
Tritanopia (blue-blind)
#546A61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f2d;
/* rgb */ color: rgb(82, 111, 45);
/* oklch */ color: oklch(50.3% 0.099 129.2);
Tailwind
colors: {
  custom: {
    50: '#859868',
    500: '#526f2d',
    950: '#000000',
  },
}
SCSS
$custom: #526f2d;
$custom-light: #859868;
$custom-dark: #000000;
JSON
{
  "hex": "#526f2d",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 86.364,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50343,
    "c": 0.09933,
    "h": 129.2
  },
  "luminance": 0.13352
}

Semantic roles & 50–950 ramp

primary
#526F2D
secondary
#7757A1
accent
#56D28C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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