#526B15#526B15

#526B15 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.1% C 0.113 H 125.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#526B15
RGBrgb(82, 107, 21)
HSLhsl(77, 67%, 25%)
HSVhsv(77, 80%, 42%)
CMYKcmyk(23.4%, 0%, 80.4%, 58%)
CIE-LABlab(41.79, -22.27, 41.83)
CIE-LCHlch(41.79, 47.39, 118.03°)
OKLaboklab(49.06% -0.0647 0.0924)
OKLCHoklch(49.06% 0.113 125)
XYZxyz(8.8728, 12.3633, 2.6282)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526B15 #2E156B
analogous
#6B5915 #526B15 #276B15
triadic
#526B15 #15526B #6B1552
tetradic
#526B15 #156B59 #2E156B #6B1527
square
#526B15 #156B59 #2E156B #6B1527
split-complementary
#526B15 #15276B #59156B
monochromatic
#141A05 #2B380B #526B15 #799E1F #A0D129

Accessibility & contrast

On white

6.05
#526B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#526B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526B15
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526B15#FFFFFF#000000##FFFFFF
##526B151.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716302
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#56655B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #526b15;
/* rgb */ color: rgb(82, 107, 21);
/* oklch */ color: oklch(49.1% 0.113 125.0);
Tailwind
colors: {
  custom: {
    50: '#86955a',
    500: '#526b15',
    950: '#000000',
  },
}
SCSS
$custom: #526b15;
$custom-light: #86955a;
$custom-dark: #000000;
JSON
{
  "hex": "#526b15",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 77.442,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49062,
    "c": 0.11284,
    "h": 125
  },
  "luminance": 0.12363
}

Semantic roles & 50–950 ramp

primary
#526B15
secondary
#583AA2
accent
#3EEA70
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526B15

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

Preview Lab → · Contrast checker → · Palette generator →

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