#526421#526421

#526421 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.3% C 0.094 H 122.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#526421
RGBrgb(82, 100, 33)
HSLhsl(76, 50%, 26%)
HSVhsv(76, 67%, 39%)
CMYKcmyk(18%, 0%, 67%, 60.8%)
CIE-LABlab(39.61, -17.77, 34.63)
CIE-LCHlch(39.61, 38.92, 117.17°)
OKLaboklab(47.33% -0.0512 0.0793)
OKLCHoklch(47.33% 0.094 122.8)
XYZxyz(8.3114, 11.0180, 3.1274)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526421 #332164
analogous
#645421 #526421 #306421
triadic
#526421 #215264 #642152
tetradic
#526421 #216454 #332164 #642130
square
#526421 #216454 #332164 #642130
split-complementary
#526421 #213064 #542164
monochromatic
#131708 #2C3612 #526421 #789230 #9DC040

Accessibility & contrast

On white

6.56
#526421 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#526421 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526421
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526421#FFFFFF#000000##FFFFFF
##5264211.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E19
Deuteranopia (green-blind)
#685D26
Tritanopia (blue-blind)
#565F56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #526421;
/* rgb */ color: rgb(82, 100, 33);
/* oklch */ color: oklch(47.3% 0.094 122.8);
Tailwind
colors: {
  custom: {
    50: '#859060',
    500: '#526421',
    950: '#000000',
  },
}
SCSS
$custom: #526421;
$custom-light: #859060;
$custom-dark: #000000;
JSON
{
  "hex": "#526421",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 33
  },
  "hsl": {
    "h": 76.119,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47331,
    "c": 0.09439,
    "h": 122.8
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#526421
secondary
#5E4998
accent
#4EDA74
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #526421

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

Preview Lab → · Contrast checker → · Palette generator →

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