#526716#526716

#526716 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.107 H 123.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#526716
RGBrgb(82, 103, 22)
HSLhsl(76, 65%, 25%)
HSVhsv(76, 79%, 40%)
CMYKcmyk(20.4%, 0%, 78.6%, 59.6%)
CIE-LABlab(40.50, -20.14, 40.24)
CIE-LCHlch(40.50, 45.00, 116.59°)
OKLaboklab(48.02% -0.0588 0.0893)
OKLCHoklch(48.02% 0.107 123.4)
XYZxyz(8.4748, 11.5522, 2.5422)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526716 #2B1667
analogous
#675416 #526716 #296716
triadic
#526716 #165267 #671652
tetradic
#526716 #166754 #2B1667 #671629
square
#526716 #166754 #2B1667 #671629
split-complementary
#526716 #162967 #541667
monochromatic
#141905 #2A350B #526716 #7A9921 #A2CC2C

Accessibility & contrast

On white

6.34
#526716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#526716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526716
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526716#FFFFFF#000000##FFFFFF
##5267161.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6005
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#566158
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #526716;
/* rgb */ color: rgb(82, 103, 22);
/* oklch */ color: oklch(48.0% 0.107 123.4);
Tailwind
colors: {
  custom: {
    50: '#85925a',
    500: '#526716',
    950: '#000000',
  },
}
SCSS
$custom: #526716;
$custom-light: #85925a;
$custom-dark: #000000;
JSON
{
  "hex": "#526716",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 75.556,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48018,
    "c": 0.10691,
    "h": 123.4
  },
  "luminance": 0.11552
}

Semantic roles & 50–950 ramp

primary
#526716
secondary
#553B9E
accent
#40E86C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #526716

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

Preview Lab → · Contrast checker → · Palette generator →

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