#526C1B#526C1B

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

Color values

HEX#526C1B
RGBrgb(82, 108, 27)
HSLhsl(79, 60%, 26%)
HSVhsv(79, 75%, 42%)
CMYKcmyk(24.1%, 0%, 75%, 57.6%)
CIE-LABlab(42.15, -22.42, 39.91)
CIE-LCHlch(42.15, 45.77, 119.32°)
OKLaboklab(49.37% -0.0646 0.0894)
OKLCHoklch(49.37% 0.11 125.8)
XYZxyz(9.0401, 12.5980, 2.9921)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526C1B #351B6C
analogous
#6C5E1B #526C1B #2A6C1B
triadic
#526C1B #1B526C #6C1B52
tetradic
#526C1B #1B6C5E #351B6C #6C1B2A
square
#526C1B #1B6C5E #351B6C #6C1B2A
split-complementary
#526C1B #1B2A6C #5E1B6C
monochromatic
#131806 #2D3B0F #526C1B #779D27 #9CCC35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526C1B#FFFFFF#000000##FFFFFF
##526C1B1.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)
#72640D
Deuteranopia (green-blind)
#6F6322
Tritanopia (blue-blind)
#56675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #526c1b;
/* rgb */ color: rgb(82, 108, 27);
/* oklch */ color: oklch(49.4% 0.110 125.8);
Tailwind
colors: {
  custom: {
    50: '#85965d',
    500: '#526c1b',
    950: '#000000',
  },
}
SCSS
$custom: #526c1b;
$custom-light: #85965d;
$custom-dark: #000000;
JSON
{
  "hex": "#526c1b",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 27
  },
  "hsl": {
    "h": 79.259,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49368,
    "c": 0.11033,
    "h": 125.8
  },
  "luminance": 0.12598
}

Semantic roles & 50–950 ramp

primary
#526C1B
secondary
#6042A1
accent
#45E378
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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