#526E1B#526E1B

#526E1B is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.9% C 0.113 H 126.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#526E1B
RGBrgb(82, 110, 27)
HSLhsl(80, 61%, 27%)
HSVhsv(80, 75%, 43%)
CMYKcmyk(25.5%, 0%, 75.5%, 56.9%)
CIE-LABlab(42.80, -23.43, 40.55)
CIE-LCHlch(42.80, 46.84, 120.02°)
OKLaboklab(49.9% -0.0674 0.0908)
OKLCHoklch(49.9% 0.113 126.6)
XYZxyz(9.2535, 13.0247, 3.0632)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526E1B #371B6E
analogous
#6E611B #526E1B #296E1B
triadic
#526E1B #1B526E #6E1B52
tetradic
#526E1B #1B6E61 #371B6E #6E1B29
square
#526E1B #1B6E61 #371B6E #6E1B29
split-complementary
#526E1B #1B296E #611B6E
monochromatic
#121906 #2D3D0F #526E1B #779F27 #9ACE36

Accessibility & contrast

On white

5.83
#526E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#526E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526E1B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526E1B#FFFFFF#000000##FFFFFF
##526E1B1.005.833.615.83
#FFFFFF5.831.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660C
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#56695E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #526e1b;
/* rgb */ color: rgb(82, 110, 27);
/* oklch */ color: oklch(49.9% 0.113 126.6);
Tailwind
colors: {
  custom: {
    50: '#85975e',
    500: '#526e1b',
    950: '#000000',
  },
}
SCSS
$custom: #526e1b;
$custom-light: #85975e;
$custom-dark: #000000;
JSON
{
  "hex": "#526e1b",
  "rgb": {
    "r": 82,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 80.241,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49895,
    "c": 0.11306,
    "h": 126.6
  },
  "luminance": 0.13025
}

Semantic roles & 50–950 ramp

primary
#526E1B
secondary
#6342A3
accent
#44E47A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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