#526C1A#526C1A

#526C1A is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.4% C 0.111 H 125.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#526C1A
RGBrgb(82, 108, 26)
HSLhsl(79, 61%, 26%)
HSVhsv(79, 76%, 42%)
CMYKcmyk(24.1%, 0%, 75.9%, 57.6%)
CIE-LABlab(42.14, -22.48, 40.30)
CIE-LCHlch(42.14, 46.15, 119.16°)
OKLaboklab(49.36% -0.0649 0.0901)
OKLCHoklch(49.36% 0.111 125.8)
XYZxyz(9.0287, 12.5934, 2.9322)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526C1A #341A6C
analogous
#6C5D1A #526C1A #296C1A
triadic
#526C1A #1A526C #6C1A52
tetradic
#526C1A #1A6C5D #341A6C #6C1A29
square
#526C1A #1A6C5D #341A6C #6C1A29
split-complementary
#526C1A #1A296C #5D1A6C
monochromatic
#131906 #2D3B0E #526C1A #779D26 #9DCE33

Accessibility & contrast

On white

5.97
#526C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#526C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526C1A
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526C1A#FFFFFF#000000##FFFFFF
##526C1A1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640B
Deuteranopia (green-blind)
#6F6321
Tritanopia (blue-blind)
#56675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #526c1a;
/* rgb */ color: rgb(82, 108, 26);
/* oklch */ color: oklch(49.4% 0.111 125.8);
Tailwind
colors: {
  custom: {
    50: '#85965d',
    500: '#526c1a',
    950: '#000000',
  },
}
SCSS
$custom: #526c1a;
$custom-light: #85965d;
$custom-dark: #000000;
JSON
{
  "hex": "#526c1a",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 26
  },
  "hsl": {
    "h": 79.024,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4936,
    "c": 0.11102,
    "h": 125.8
  },
  "luminance": 0.12594
}

Semantic roles & 50–950 ramp

primary
#526C1A
secondary
#5F41A1
accent
#43E476
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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