#526B1C#526B1C

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

Color values

HEX#526B1C
RGBrgb(82, 107, 28)
HSLhsl(79, 59%, 26%)
HSVhsv(79, 74%, 42%)
CMYKcmyk(23.4%, 0%, 73.8%, 58%)
CIE-LABlab(41.83, -21.84, 39.18)
CIE-LCHlch(41.83, 44.85, 119.13°)
OKLaboklab(49.11% -0.0629 0.0881)
OKLCHoklch(49.11% 0.108 125.5)
XYZxyz(8.9470, 12.3930, 3.0191)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526B1C #351C6B
analogous
#6B5D1C #526B1C #2B6B1C
triadic
#526B1C #1C526B #6B1C52
tetradic
#526B1C #1C6B5D #351C6B #6B1C2B
square
#526B1C #1C6B5D #351C6B #6B1C2B
split-complementary
#526B1C #1C2B6B #5D1C6B
monochromatic
#131806 #2D3A0F #526B1C #779C29 #9CCB37

Accessibility & contrast

On white

6.04
#526B1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#526B1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526B1C
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526B1C#FFFFFF#000000##FFFFFF
##526B1C1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640F
Deuteranopia (green-blind)
#6E6223
Tritanopia (blue-blind)
#56665B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #526b1c;
/* rgb */ color: rgb(82, 107, 28);
/* oklch */ color: oklch(49.1% 0.108 125.5);
Tailwind
colors: {
  custom: {
    50: '#85955e',
    500: '#526b1c',
    950: '#000000',
  },
}
SCSS
$custom: #526b1c;
$custom-light: #85955e;
$custom-dark: #000000;
JSON
{
  "hex": "#526b1c",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 28
  },
  "hsl": {
    "h": 78.987,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49114,
    "c": 0.10824,
    "h": 125.5
  },
  "luminance": 0.12393
}

Semantic roles & 50–950 ramp

primary
#526B1C
secondary
#6043A0
accent
#46E277
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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