#526C16#526C16

#526C16 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.3% C 0.114 H 125.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#526C16
RGBrgb(82, 108, 22)
HSLhsl(78, 66%, 25%)
HSVhsv(78, 80%, 42%)
CMYKcmyk(24.1%, 0%, 79.6%, 57.6%)
CIE-LABlab(42.12, -22.72, 41.79)
CIE-LCHlch(42.12, 47.57, 118.54°)
OKLaboklab(49.33% -0.0659 0.0925)
OKLCHoklch(49.33% 0.114 125.5)
XYZxyz(8.9871, 12.5768, 2.7130)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526C16 #30166C
analogous
#6C5B16 #526C16 #276C16
triadic
#526C16 #16526C #6C1652
tetradic
#526C16 #166C5B #30166C #6C1627
square
#526C16 #166C5B #30166C #6C1627
split-complementary
#526C16 #16276C #5B166C
monochromatic
#131905 #2B390C #526C16 #799F20 #9FD22B

Accessibility & contrast

On white

5.97
#526C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#526C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526C16
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526C16#FFFFFF#000000##FFFFFF
##526C161.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726403
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#56665C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #526c16;
/* rgb */ color: rgb(82, 108, 22);
/* oklch */ color: oklch(49.3% 0.114 125.5);
Tailwind
colors: {
  custom: {
    50: '#86965b',
    500: '#526c16',
    950: '#000000',
  },
}
SCSS
$custom: #526c16;
$custom-light: #86965b;
$custom-dark: #000000;
JSON
{
  "hex": "#526c16",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 78.14,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49332,
    "c": 0.11358,
    "h": 125.5
  },
  "luminance": 0.12577
}

Semantic roles & 50–950 ramp

primary
#526C16
secondary
#5B3CA2
accent
#3FE972
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526C16

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

Preview Lab → · Contrast checker → · Palette generator →

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