#526522#526522

#526522 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.6% C 0.095 H 123.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#526522
RGBrgb(82, 101, 34)
HSLhsl(77, 50%, 26%)
HSVhsv(77, 66%, 40%)
CMYKcmyk(18.8%, 0%, 66.3%, 60.4%)
CIE-LABlab(39.94, -18.22, 34.51)
CIE-LCHlch(39.94, 39.03, 117.83°)
OKLaboklab(47.6% -0.0523 0.0792)
OKLCHoklch(47.6% 0.095 123.5)
XYZxyz(8.4222, 11.2166, 3.2344)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526522 #352265
analogous
#655722 #526522 #316522
triadic
#526522 #225265 #652252
tetradic
#526522 #226557 #352265 #652231
square
#526522 #226557 #352265 #652231
split-complementary
#526522 #223165 #572265
monochromatic
#131708 #2D3713 #526522 #779331 #9CBF42

Accessibility & contrast

On white

6.47
#526522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#526522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526522
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526522#FFFFFF#000000##FFFFFF
##5265221.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1A
Deuteranopia (green-blind)
#685E27
Tritanopia (blue-blind)
#566057
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #526522;
/* rgb */ color: rgb(82, 101, 34);
/* oklch */ color: oklch(47.6% 0.095 123.5);
Tailwind
colors: {
  custom: {
    50: '#859160',
    500: '#526522',
    950: '#000000',
  },
}
SCSS
$custom: #526522;
$custom-light: #859160;
$custom-dark: #000000;
JSON
{
  "hex": "#526522",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 34
  },
  "hsl": {
    "h": 77.015,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47602,
    "c": 0.09493,
    "h": 123.5
  },
  "luminance": 0.11217
}

Semantic roles & 50–950 ramp

primary
#526522
secondary
#604A99
accent
#4FD976
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #526522

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

Preview Lab → · Contrast checker → · Palette generator →

#526522 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva