#526B19#526B19

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

Color values

HEX#526B19
RGBrgb(82, 107, 25)
HSLhsl(78, 62%, 26%)
HSVhsv(78, 77%, 42%)
CMYKcmyk(23.4%, 0%, 76.6%, 58%)
CIE-LABlab(41.81, -22.03, 40.37)
CIE-LCHlch(41.81, 45.99, 118.63°)
OKLaboklab(49.09% -0.0637 0.0901)
OKLCHoklch(49.09% 0.11 125.3)
XYZxyz(8.9129, 12.3793, 2.8394)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526B19 #32196B
analogous
#6B5B19 #526B19 #296B19
triadic
#526B19 #19526B #6B1952
tetradic
#526B19 #196B5B #32196B #6B1929
square
#526B19 #196B5B #32196B #6B1929
split-complementary
#526B19 #19296B #5B196B
monochromatic
#131906 #2C390D #526B19 #789D25 #9ECE30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526B19#FFFFFF#000000##FFFFFF
##526B191.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)
#716409
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#56665B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #526b19;
/* rgb */ color: rgb(82, 107, 25);
/* oklch */ color: oklch(49.1% 0.110 125.3);
Tailwind
colors: {
  custom: {
    50: '#85955c',
    500: '#526b19',
    950: '#000000',
  },
}
SCSS
$custom: #526b19;
$custom-light: #85955c;
$custom-dark: #000000;
JSON
{
  "hex": "#526b19",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 25
  },
  "hsl": {
    "h": 78.293,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4909,
    "c": 0.11034,
    "h": 125.3
  },
  "luminance": 0.12379
}

Semantic roles & 50–950 ramp

primary
#526B19
secondary
#5D3FA1
accent
#43E574
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526B19

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

Preview Lab → · Contrast checker → · Palette generator →

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