#526B1B#526B1B

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

Color values

HEX#526B1B
RGBrgb(82, 107, 27)
HSLhsl(79, 60%, 26%)
HSVhsv(79, 75%, 42%)
CMYKcmyk(23.4%, 0%, 74.8%, 58%)
CIE-LABlab(41.83, -21.90, 39.58)
CIE-LCHlch(41.83, 45.24, 118.96°)
OKLaboklab(49.11% -0.0632 0.0888)
OKLCHoklch(49.11% 0.109 125.4)
XYZxyz(8.9353, 12.3882, 2.9571)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526B1B #341B6B
analogous
#6B5C1B #526B1B #2A6B1B
triadic
#526B1B #1B526B #6B1B52
tetradic
#526B1B #1B6B5C #341B6B #6B1B2A
square
#526B1B #1B6B5C #341B6B #6B1B2A
split-complementary
#526B1B #1B2A6B #5C1B6B
monochromatic
#131806 #2D3A0F #526B1B #779C27 #9DCC35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #526b1b;
/* rgb */ color: rgb(82, 107, 27);
/* oklch */ color: oklch(49.1% 0.109 125.4);
Tailwind
colors: {
  custom: {
    50: '#85955d',
    500: '#526b1b',
    950: '#000000',
  },
}
SCSS
$custom: #526b1b;
$custom-light: #85955d;
$custom-dark: #000000;
JSON
{
  "hex": "#526b1b",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 27
  },
  "hsl": {
    "h": 78.75,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49106,
    "c": 0.10896,
    "h": 125.4
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#526B1B
secondary
#5F42A0
accent
#45E376
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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