#526F1B#526F1B

#526F1B is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.2% C 0.114 H 126.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#526F1B
RGBrgb(82, 111, 27)
HSLhsl(81, 61%, 27%)
HSVhsv(81, 76%, 44%)
CMYKcmyk(26.1%, 0%, 75.7%, 56.5%)
CIE-LABlab(43.13, -23.94, 40.87)
CIE-LCHlch(43.13, 47.37, 120.36°)
OKLaboklab(50.16% -0.0688 0.0915)
OKLCHoklch(50.16% 0.114 126.9)
XYZxyz(9.3620, 13.2417, 3.0994)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F1B #381B6F
analogous
#6F621B #526F1B #286F1B
triadic
#526F1B #1B526F #6F1B52
tetradic
#526F1B #1B6F62 #381B6F #6F1B28
square
#526F1B #1B6F62 #381B6F #6F1B28
split-complementary
#526F1B #1B286F #621B6F
monochromatic
#121906 #2E3E0F #526F1B #76A027 #9ACE36

Accessibility & contrast

On white

5.76
#526F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#526F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526F1B
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526F1B#FFFFFF#000000##FFFFFF
##526F1B1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670C
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#556A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f1b;
/* rgb */ color: rgb(82, 111, 27);
/* oklch */ color: oklch(50.2% 0.114 126.9);
Tailwind
colors: {
  custom: {
    50: '#86985e',
    500: '#526f1b',
    950: '#000000',
  },
}
SCSS
$custom: #526f1b;
$custom-light: #86985e;
$custom-dark: #000000;
JSON
{
  "hex": "#526f1b",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 80.714,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50158,
    "c": 0.11443,
    "h": 126.9
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#526F1B
secondary
#6442A4
accent
#44E47B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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