#526018#526018

#526018 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.2% C 0.096 H 119.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#526018
RGBrgb(82, 96, 24)
HSLhsl(72, 60%, 24%)
HSVhsv(72, 75%, 38%)
CMYKcmyk(14.6%, 0%, 75%, 62.4%)
CIE-LABlab(38.24, -16.27, 37.25)
CIE-LCHlch(38.24, 40.65, 113.60°)
OKLaboklab(46.21% -0.048 0.0833)
OKLCHoklch(46.21% 0.096 119.9)
XYZxyz(7.8276, 10.2256, 2.4253)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526018 #261860
analogous
#604A18 #526018 #2E6018
triadic
#526018 #185260 #601852
tetradic
#526018 #18604A #261860 #60182E
square
#526018 #18604A #261860 #60182E
split-complementary
#526018 #182E60 #4A1860
monochromatic
#151806 #282F0C #526018 #7C9124 #A6C230

Accessibility & contrast

On white

6.90
#526018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#526018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526018
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526018#FFFFFF#000000##FFFFFF
##5260181.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0C
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#575B52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #526018;
/* rgb */ color: rgb(82, 96, 24);
/* oklch */ color: oklch(46.2% 0.096 119.9);
Tailwind
colors: {
  custom: {
    50: '#858d5a',
    500: '#526018',
    950: '#000000',
  },
}
SCSS
$custom: #526018;
$custom-light: #858d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#526018",
  "rgb": {
    "r": 82,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 71.667,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46206,
    "c": 0.09616,
    "h": 119.9
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#526018
secondary
#4F3D96
accent
#45E363
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526018

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

Preview Lab → · Contrast checker → · Palette generator →

#526018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva