#526A15#526A15

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

Color values

HEX#526A15
RGBrgb(82, 106, 21)
HSLhsl(77, 67%, 25%)
HSVhsv(77, 80%, 42%)
CMYKcmyk(22.6%, 0%, 80.2%, 58.4%)
CIE-LABlab(41.46, -21.75, 41.53)
CIE-LCHlch(41.46, 46.88, 117.65°)
OKLaboklab(48.8% -0.0633 0.0918)
OKLCHoklch(48.8% 0.112 124.6)
XYZxyz(8.7692, 12.1560, 2.5937)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526A15 #2D156A
analogous
#6A5715 #526A15 #286A15
triadic
#526A15 #15526A #6A1552
tetradic
#526A15 #156A57 #2D156A #6A1528
square
#526A15 #156A57 #2D156A #6A1528
split-complementary
#526A15 #15286A #57156A
monochromatic
#141A05 #2A370B #526A15 #7A9D1F #A1D029

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526A15#FFFFFF#000000##FFFFFF
##526A151.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)
#706302
Deuteranopia (green-blind)
#6D621D
Tritanopia (blue-blind)
#56645A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #526a15;
/* rgb */ color: rgb(82, 106, 21);
/* oklch */ color: oklch(48.8% 0.112 124.6);
Tailwind
colors: {
  custom: {
    50: '#86945a',
    500: '#526a15',
    950: '#000000',
  },
}
SCSS
$custom: #526a15;
$custom-light: #86945a;
$custom-dark: #000000;
JSON
{
  "hex": "#526a15",
  "rgb": {
    "r": 82,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 76.941,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48799,
    "c": 0.11151,
    "h": 124.6
  },
  "luminance": 0.12156
}

Semantic roles & 50–950 ramp

primary
#526A15
secondary
#573AA1
accent
#3EEA6E
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526A15

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

Preview Lab → · Contrast checker → · Palette generator →

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