#526A20#526A20

#526A20 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.9% C 0.104 H 125.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#526A20
RGBrgb(82, 106, 32)
HSLhsl(79, 54%, 27%)
HSVhsv(79, 70%, 42%)
CMYKcmyk(22.6%, 0%, 69.8%, 58.4%)
CIE-LABlab(41.54, -21.02, 37.15)
CIE-LCHlch(41.54, 42.68, 119.51°)
OKLaboklab(48.89% -0.0603 0.0845)
OKLCHoklch(48.89% 0.104 125.5)
XYZxyz(8.8945, 12.2061, 3.2536)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526A20 #38206A
analogous
#6A5D20 #526A20 #2D6A20
triadic
#526A20 #20526A #6A2052
tetradic
#526A20 #206A5D #38206A #6A202D
square
#526A20 #206A5D #38206A #6A202D
split-complementary
#526A20 #202D6A #5D206A
monochromatic
#121807 #2E3B12 #526A20 #76992E #9AC53F

Accessibility & contrast

On white

6.10
#526A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#526A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526A20
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526A20#FFFFFF#000000##FFFFFF
##526A201.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706316
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#56655B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #526a20;
/* rgb */ color: rgb(82, 106, 32);
/* oklch */ color: oklch(48.9% 0.104 125.5);
Tailwind
colors: {
  custom: {
    50: '#859460',
    500: '#526a20',
    950: '#000000',
  },
}
SCSS
$custom: #526a20;
$custom-light: #859460;
$custom-dark: #000000;
JSON
{
  "hex": "#526a20",
  "rgb": {
    "r": 82,
    "g": 106,
    "b": 32
  },
  "hsl": {
    "h": 79.459,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48888,
    "c": 0.10376,
    "h": 125.5
  },
  "luminance": 0.12206
}

Semantic roles & 50–950 ramp

primary
#526A20
secondary
#64489E
accent
#4BDD7A
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526A20

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

Preview Lab → · Contrast checker → · Palette generator →

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