#526C15#526C15

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

Color values

HEX#526C15
RGBrgb(82, 108, 21)
HSLhsl(78, 67%, 25%)
HSVhsv(78, 81%, 42%)
CMYKcmyk(24.1%, 0%, 80.6%, 57.6%)
CIE-LABlab(42.11, -22.78, 42.14)
CIE-LCHlch(42.11, 47.90, 118.39°)
OKLaboklab(49.33% -0.0661 0.0931)
OKLCHoklch(49.33% 0.114 125.4)
XYZxyz(8.9777, 12.5730, 2.6632)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526C15 #2F156C
analogous
#6C5A15 #526C15 #266C15
triadic
#526C15 #15526C #6C1552
tetradic
#526C15 #156C5A #2F156C #6C1526
square
#526C15 #156C5A #2F156C #6C1526
split-complementary
#526C15 #15266C #5A156C
monochromatic
#131A05 #2B390B #526C15 #799F1F #A0D229

Accessibility & contrast

On white

5.98
#526C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#526C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526C15
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526C15#FFFFFF#000000##FFFFFF
##526C151.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #526c15;
/* rgb */ color: rgb(82, 108, 21);
/* oklch */ color: oklch(49.3% 0.114 125.4);
Tailwind
colors: {
  custom: {
    50: '#86965a',
    500: '#526c15',
    950: '#000000',
  },
}
SCSS
$custom: #526c15;
$custom-light: #86965a;
$custom-dark: #000000;
JSON
{
  "hex": "#526c15",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 77.931,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49325,
    "c": 0.11417,
    "h": 125.4
  },
  "luminance": 0.12573
}

Semantic roles & 50–950 ramp

primary
#526C15
secondary
#593AA3
accent
#3DEA71
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526C15

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

Preview Lab → · Contrast checker → · Palette generator →

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