#526D15#526D15

#526D15 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.6% C 0.116 H 125.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#526D15
RGBrgb(82, 109, 21)
HSLhsl(78, 68%, 25%)
HSVhsv(78, 81%, 43%)
CMYKcmyk(24.8%, 0%, 80.7%, 57.3%)
CIE-LABlab(42.44, -23.29, 42.44)
CIE-LCHlch(42.44, 48.41, 118.75°)
OKLaboklab(49.59% -0.0675 0.0937)
OKLCHoklch(49.59% 0.116 125.8)
XYZxyz(9.0837, 12.7851, 2.6985)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526D15 #30156D
analogous
#6D5C15 #526D15 #266D15
triadic
#526D15 #15526D #6D1552
tetradic
#526D15 #156D5C #30156D #6D1526
square
#526D15 #156D5C #30156D #6D1526
split-complementary
#526D15 #15266D #5C156D
monochromatic
#131A05 #2B3A0B #526D15 #79A01F #9FD429

Accessibility & contrast

On white

5.90
#526D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#526D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526D15
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526D15#FFFFFF#000000##FFFFFF
##526D151.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736501
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#56675D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #526d15;
/* rgb */ color: rgb(82, 109, 21);
/* oklch */ color: oklch(49.6% 0.116 125.8);
Tailwind
colors: {
  custom: {
    50: '#86975a',
    500: '#526d15',
    950: '#000000',
  },
}
SCSS
$custom: #526d15;
$custom-light: #86975a;
$custom-dark: #000000;
JSON
{
  "hex": "#526d15",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 78.409,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49588,
    "c": 0.1155,
    "h": 125.8
  },
  "luminance": 0.12785
}

Semantic roles & 50–950 ramp

primary
#526D15
secondary
#5B3AA3
accent
#3DEB72
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526D15

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

Preview Lab → · Contrast checker → · Palette generator →

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