#526F15#526F15

#526F15 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.118 H 126.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#526F15
RGBrgb(82, 111, 21)
HSLhsl(79, 68%, 26%)
HSVhsv(79, 81%, 44%)
CMYKcmyk(26.1%, 0%, 81.1%, 56.5%)
CIE-LABlab(43.09, -24.29, 43.05)
CIE-LCHlch(43.09, 49.43, 119.43°)
OKLaboklab(50.12% -0.0702 0.095)
OKLCHoklch(50.12% 0.118 126.5)
XYZxyz(9.2995, 13.2167, 2.7705)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F15 #32156F
analogous
#6F5F15 #526F15 #256F15
triadic
#526F15 #15526F #6F1552
tetradic
#526F15 #156F5F #32156F #6F1525
square
#526F15 #156F5F #32156F #6F1525
split-complementary
#526F15 #15256F #5F156F
monochromatic
#131A05 #2C3C0B #526F15 #78A21F #9ED628

Accessibility & contrast

On white

5.76
#526F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#526F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526F15
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526F15#FFFFFF#000000##FFFFFF
##526F151.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#56695E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f15;
/* rgb */ color: rgb(82, 111, 21);
/* oklch */ color: oklch(50.1% 0.118 126.5);
Tailwind
colors: {
  custom: {
    50: '#86985b',
    500: '#526f15',
    950: '#000000',
  },
}
SCSS
$custom: #526f15;
$custom-light: #86985b;
$custom-dark: #000000;
JSON
{
  "hex": "#526f15",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 79.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.11815,
    "h": 126.5
  },
  "luminance": 0.13217
}

Semantic roles & 50–950 ramp

primary
#526F15
secondary
#5D3AA5
accent
#3DEB75
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526F15

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

Preview Lab → · Contrast checker → · Palette generator →

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