#526115#526115

#526115 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.4% C 0.100 H 120.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#526115
RGBrgb(82, 97, 21)
HSLhsl(72, 64%, 23%)
HSVhsv(72, 78%, 38%)
CMYKcmyk(15.5%, 0%, 78.4%, 62%)
CIE-LABlab(38.55, -17.00, 38.75)
CIE-LCHlch(38.55, 42.32, 113.69°)
OKLaboklab(46.44% -0.0503 0.086)
OKLCHoklch(46.44% 0.1 120.3)
XYZxyz(7.8899, 10.3974, 2.3006)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526115 #241561
analogous
#614A15 #526115 #2C6115
triadic
#526115 #155261 #611552
tetradic
#526115 #15614A #241561 #61152C
square
#526115 #15614A #241561 #61152C
split-complementary
#526115 #152C61 #4A1561
monochromatic
#151905 #272F0A #526115 #7D9320 #A7C62B

Accessibility & contrast

On white

6.82
#526115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#526115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526115
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526115#FFFFFF#000000##FFFFFF
##5261151.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B06
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#575B52
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #526115;
/* rgb */ color: rgb(82, 97, 21);
/* oklch */ color: oklch(46.4% 0.100 120.3);
Tailwind
colors: {
  custom: {
    50: '#858d59',
    500: '#526115',
    950: '#000000',
  },
}
SCSS
$custom: #526115;
$custom-light: #858d59;
$custom-dark: #000000;
JSON
{
  "hex": "#526115",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 71.842,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46442,
    "c": 0.09958,
    "h": 120.3
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#526115
secondary
#4C3A98
accent
#40E761
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526115

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

Preview Lab → · Contrast checker → · Palette generator →

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