#526B18#526B18

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

Color values

HEX#526B18
RGBrgb(82, 107, 24)
HSLhsl(78, 63%, 26%)
HSVhsv(78, 78%, 42%)
CMYKcmyk(23.4%, 0%, 77.6%, 58%)
CIE-LABlab(41.81, -22.10, 40.75)
CIE-LCHlch(41.81, 46.35, 118.47°)
OKLaboklab(49.08% -0.064 0.0907)
OKLCHoklch(49.08% 0.111 125.2)
XYZxyz(8.9023, 12.3751, 2.7836)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526B18 #31186B
analogous
#6B5A18 #526B18 #286B18
triadic
#526B18 #18526B #6B1852
tetradic
#526B18 #186B5A #31186B #6B1828
square
#526B18 #186B5A #31186B #6B1828
split-complementary
#526B18 #18286B #5A186B
monochromatic
#131906 #2C390D #526B18 #789D23 #9FCF2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #526b18;
/* rgb */ color: rgb(82, 107, 24);
/* oklch */ color: oklch(49.1% 0.111 125.2);
Tailwind
colors: {
  custom: {
    50: '#85955c',
    500: '#526b18',
    950: '#000000',
  },
}
SCSS
$custom: #526b18;
$custom-light: #85955c;
$custom-dark: #000000;
JSON
{
  "hex": "#526b18",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 78.072,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49082,
    "c": 0.11099,
    "h": 125.2
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

primary
#526B18
secondary
#5C3EA1
accent
#41E673
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526B18

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

Preview Lab → · Contrast checker → · Palette generator →

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