#526A16#526A16

#526A16 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.8% C 0.111 H 124.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#526A16
RGBrgb(82, 106, 22)
HSLhsl(77, 66%, 25%)
HSVhsv(77, 79%, 42%)
CMYKcmyk(22.6%, 0%, 79.2%, 58.4%)
CIE-LABlab(41.47, -21.70, 41.17)
CIE-LCHlch(41.47, 46.54, 117.79°)
OKLaboklab(48.81% -0.0631 0.0912)
OKLCHoklch(48.81% 0.111 124.7)
XYZxyz(8.7786, 12.1597, 2.6435)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526A16 #2E166A
analogous
#6A5816 #526A16 #286A16
triadic
#526A16 #16526A #6A1652
tetradic
#526A16 #166A58 #2E166A #6A1628
square
#526A16 #166A58 #2E166A #6A1628
split-complementary
#526A16 #16286A #58166A
monochromatic
#141905 #2B370B #526A16 #799D21 #A0CF2B

Accessibility & contrast

On white

6.12
#526A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#526A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526A16
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526A16#FFFFFF#000000##FFFFFF
##526A161.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706304
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#56645A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #526a16;
/* rgb */ color: rgb(82, 106, 22);
/* oklch */ color: oklch(48.8% 0.111 124.7);
Tailwind
colors: {
  custom: {
    50: '#86945a',
    500: '#526a16',
    950: '#000000',
  },
}
SCSS
$custom: #526a16;
$custom-light: #86945a;
$custom-dark: #000000;
JSON
{
  "hex": "#526a16",
  "rgb": {
    "r": 82,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 77.143,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48805,
    "c": 0.11091,
    "h": 124.7
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#526A16
secondary
#583BA0
accent
#3FE970
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526A16

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

Preview Lab → · Contrast checker → · Palette generator →

#526A16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva