#526012#526012

#526012 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.2% C 0.100 H 119.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#526012
RGBrgb(82, 96, 18)
HSLhsl(71, 68%, 22%)
HSVhsv(71, 81%, 38%)
CMYKcmyk(14.6%, 0%, 81.3%, 62.4%)
CIE-LABlab(38.20, -16.62, 39.55)
CIE-LCHlch(38.20, 42.90, 112.80°)
OKLaboklab(46.16% -0.0495 0.0871)
OKLCHoklch(46.16% 0.1 119.6)
XYZxyz(7.7719, 10.2033, 2.1322)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526012 #201260
analogous
#604712 #526012 #2B6012
triadic
#526012 #125260 #601252
tetradic
#526012 #126047 #201260 #60122B
square
#526012 #126047 #201260 #60122B
split-complementary
#526012 #122B60 #471260
monochromatic
#161A05 #262C08 #526012 #7E941C #AAC725

Accessibility & contrast

On white

6.91
#526012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#526012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526012
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526012#FFFFFF#000000##FFFFFF
##5260121.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#575A51
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #526012;
/* rgb */ color: rgb(82, 96, 18);
/* oklch */ color: oklch(46.2% 0.100 119.6);
Tailwind
colors: {
  custom: {
    50: '#858d57',
    500: '#526012',
    950: '#000000',
  },
}
SCSS
$custom: #526012;
$custom-light: #858d57;
$custom-dark: #000000;
JSON
{
  "hex": "#526012",
  "rgb": {
    "r": 82,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 70.769,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46161,
    "c": 0.10016,
    "h": 119.6
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

primary
#526012
secondary
#473698
accent
#3DEB5C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #526012

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

Preview Lab → · Contrast checker → · Palette generator →

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