#526B1A#526B1A

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

Color values

HEX#526B1A
RGBrgb(82, 107, 26)
HSLhsl(79, 61%, 26%)
HSVhsv(79, 76%, 42%)
CMYKcmyk(23.4%, 0%, 75.7%, 58%)
CIE-LABlab(41.82, -21.97, 39.98)
CIE-LCHlch(41.82, 45.62, 118.79°)
OKLaboklab(49.1% -0.0635 0.0894)
OKLCHoklch(49.1% 0.11 125.4)
XYZxyz(8.9239, 12.3837, 2.8972)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526B1A #331A6B
analogous
#6B5B1A #526B1A #296B1A
triadic
#526B1A #1A526B #6B1A52
tetradic
#526B1A #1A6B5B #331A6B #6B1A29
square
#526B1A #1A6B5B #331A6B #6B1A29
split-complementary
#526B1A #1A296B #5B1A6B
monochromatic
#131906 #2C3A0E #526B1A #789C26 #9DCD32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526B1A#FFFFFF#000000##FFFFFF
##526B1A1.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)
#71640B
Deuteranopia (green-blind)
#6E6221
Tritanopia (blue-blind)
#56665B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #526b1a;
/* rgb */ color: rgb(82, 107, 26);
/* oklch */ color: oklch(49.1% 0.110 125.4);
Tailwind
colors: {
  custom: {
    50: '#85955d',
    500: '#526b1a',
    950: '#000000',
  },
}
SCSS
$custom: #526b1a;
$custom-light: #85955d;
$custom-dark: #000000;
JSON
{
  "hex": "#526b1a",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 26
  },
  "hsl": {
    "h": 78.519,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49098,
    "c": 0.10966,
    "h": 125.4
  },
  "luminance": 0.12384
}

Semantic roles & 50–950 ramp

primary
#526B1A
secondary
#5E40A0
accent
#44E475
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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