#526218#526218

#526218 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.7% C 0.099 H 121.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#526218
RGBrgb(82, 98, 24)
HSLhsl(73, 61%, 24%)
HSVhsv(73, 76%, 38%)
CMYKcmyk(16.3%, 0%, 75.5%, 61.6%)
CIE-LABlab(38.89, -17.36, 37.89)
CIE-LCHlch(38.89, 41.68, 114.61°)
OKLaboklab(46.73% -0.051 0.0847)
OKLCHoklch(46.73% 0.099 121)
XYZxyz(8.0124, 10.5952, 2.4869)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526218 #281862
analogous
#624D18 #526218 #2D6218
triadic
#526218 #185262 #621852
tetradic
#526218 #18624D #281862 #62182D
square
#526218 #18624D #281862 #62182D
split-complementary
#526218 #182D62 #4D1862
monochromatic
#151906 #29310C #526218 #7B9324 #A4C430

Accessibility & contrast

On white

6.73
#526218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#526218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526218
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526218#FFFFFF#000000##FFFFFF
##5262181.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0B
Deuteranopia (green-blind)
#665C1E
Tritanopia (blue-blind)
#575D54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #526218;
/* rgb */ color: rgb(82, 98, 24);
/* oklch */ color: oklch(46.7% 0.099 121.0);
Tailwind
colors: {
  custom: {
    50: '#858e5a',
    500: '#526218',
    950: '#000000',
  },
}
SCSS
$custom: #526218;
$custom-light: #858e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#526218",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 72.973,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46726,
    "c": 0.09885,
    "h": 121
  },
  "luminance": 0.10595
}

Semantic roles & 50–950 ramp

primary
#526218
secondary
#513E98
accent
#44E467
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526218

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

Preview Lab → · Contrast checker → · Palette generator →

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