#526213#526213

#526213 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.7% C 0.102 H 120.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#526213
RGBrgb(82, 98, 19)
HSLhsl(72, 68%, 23%)
HSVhsv(72, 81%, 38%)
CMYKcmyk(16.3%, 0%, 80.6%, 61.6%)
CIE-LABlab(38.86, -17.65, 39.80)
CIE-LCHlch(38.86, 43.54, 113.92°)
OKLaboklab(46.69% -0.0523 0.0878)
OKLCHoklch(46.69% 0.102 120.8)
XYZxyz(7.9650, 10.5762, 2.2378)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526213 #231362
analogous
#624A13 #526213 #2A6213
triadic
#526213 #135262 #621352
tetradic
#526213 #13624A #231362 #62132A
square
#526213 #13624A #231362 #62132A
split-complementary
#526213 #132A62 #4A1362
monochromatic
#151A05 #272F09 #526213 #7D951D #A8C927

Accessibility & contrast

On white

6.74
#526213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#526213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526213
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526213#FFFFFF#000000##FFFFFF
##5262131.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C02
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#575C53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #526213;
/* rgb */ color: rgb(82, 98, 19);
/* oklch */ color: oklch(46.7% 0.102 120.8);
Tailwind
colors: {
  custom: {
    50: '#858e58',
    500: '#526213',
    950: '#000000',
  },
}
SCSS
$custom: #526213;
$custom-light: #858e58;
$custom-dark: #000000;
JSON
{
  "hex": "#526213",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 72.152,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46689,
    "c": 0.10216,
    "h": 120.8
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#526213
secondary
#4B379A
accent
#3DEA60
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526213

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

Preview Lab → · Contrast checker → · Palette generator →

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