#526A18#526A18

#526A18 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.8% C 0.110 H 124.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#526A18
RGBrgb(82, 106, 24)
HSLhsl(78, 63%, 25%)
HSVhsv(78, 77%, 42%)
CMYKcmyk(22.6%, 0%, 77.4%, 58.4%)
CIE-LABlab(41.48, -21.58, 40.43)
CIE-LCHlch(41.48, 45.83, 118.09°)
OKLaboklab(48.82% -0.0626 0.09)
OKLCHoklch(48.82% 0.11 124.8)
XYZxyz(8.7987, 12.1678, 2.7490)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526A18 #30186A
analogous
#6A5918 #526A18 #296A18
triadic
#526A18 #18526A #6A1852
tetradic
#526A18 #186A59 #30186A #6A1829
square
#526A18 #186A59 #30186A #6A1829
split-complementary
#526A18 #18296A #59186A
monochromatic
#131906 #2B380D #526A18 #799C23 #9FCE2F

Accessibility & contrast

On white

6.12
#526A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#526A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526A18
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526A18#FFFFFF#000000##FFFFFF
##526A181.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706308
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#56655A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #526a18;
/* rgb */ color: rgb(82, 106, 24);
/* oklch */ color: oklch(48.8% 0.110 124.8);
Tailwind
colors: {
  custom: {
    50: '#85945b',
    500: '#526a18',
    950: '#000000',
  },
}
SCSS
$custom: #526a18;
$custom-light: #85945b;
$custom-dark: #000000;
JSON
{
  "hex": "#526a18",
  "rgb": {
    "r": 82,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 77.561,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4882,
    "c": 0.10964,
    "h": 124.8
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#526A18
secondary
#5B3EA0
accent
#42E672
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526A18

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

Preview Lab → · Contrast checker → · Palette generator →

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