#526D2B#526D2B

#526D2B is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.8% C 0.098 H 128.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#526D2B
RGBrgb(82, 109, 43)
HSLhsl(85, 43%, 30%)
HSVhsv(85, 61%, 43%)
CMYKcmyk(24.8%, 0%, 60.6%, 57.3%)
CIE-LABlab(42.62, -21.58, 33.06)
CIE-LCHlch(42.62, 39.48, 123.13°)
OKLaboklab(49.8% -0.0607 0.0773)
OKLCHoklch(49.8% 0.098 128.2)
XYZxyz(9.3843, 12.9054, 4.2816)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526D2B #462B6D
analogous
#6D672B #526D2B #316D2B
triadic
#526D2B #2B526D #6D2B52
tetradic
#526D2B #2B6D67 #462B6D #6D2B31
square
#526D2B #2B6D67 #462B6D #6D2B31
split-complementary
#526D2B #2B316D #672B6D
monochromatic
#111609 #31411A #526D2B #73993C #93BC56

Accessibility & contrast

On white

5.86
#526D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#526D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526D2B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526D2B#FFFFFF#000000##FFFFFF
##526D2B1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726624
Deuteranopia (green-blind)
#6E642F
Tritanopia (blue-blind)
#55685F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #526d2b;
/* rgb */ color: rgb(82, 109, 43);
/* oklch */ color: oklch(49.8% 0.098 128.2);
Tailwind
colors: {
  custom: {
    50: '#859767',
    500: '#526d2b',
    950: '#000000',
  },
}
SCSS
$custom: #526d2b;
$custom-light: #859767;
$custom-dark: #000000;
JSON
{
  "hex": "#526d2b",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 43
  },
  "hsl": {
    "h": 84.545,
    "s": 43.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49795,
    "c": 0.09827,
    "h": 128.2
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#526D2B
secondary
#73559F
accent
#55D388
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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