#526318#526318

#526318 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 47.0% C 0.100 H 121.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#526318
RGBrgb(82, 99, 24)
HSLhsl(74, 61%, 24%)
HSVhsv(74, 76%, 39%)
CMYKcmyk(17.2%, 0%, 75.8%, 61.2%)
CIE-LABlab(39.21, -17.90, 38.21)
CIE-LCHlch(39.21, 42.20, 115.10°)
OKLaboklab(46.99% -0.0525 0.0854)
OKLCHoklch(46.99% 0.1 121.6)
XYZxyz(8.1065, 10.7835, 2.5183)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526318 #291863
analogous
#634F18 #526318 #2D6318
triadic
#526318 #185263 #631852
tetradic
#526318 #18634F #291863 #63182D
square
#526318 #18634F #291863 #63182D
split-complementary
#526318 #182D63 #4F1863
monochromatic
#141906 #29320C #526318 #7B9424 #A4C630

Accessibility & contrast

On white

6.65
#526318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#526318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526318
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526318#FFFFFF#000000##FFFFFF
##5263181.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0B
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#575E54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #526318;
/* rgb */ color: rgb(82, 99, 24);
/* oklch */ color: oklch(47.0% 0.100 121.6);
Tailwind
colors: {
  custom: {
    50: '#858f5b',
    500: '#526318',
    950: '#000000',
  },
}
SCSS
$custom: #526318;
$custom-light: #858f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#526318",
  "rgb": {
    "r": 82,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 73.6,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46987,
    "c": 0.1002,
    "h": 121.6
  },
  "luminance": 0.10783
}

Semantic roles & 50–950 ramp

primary
#526318
secondary
#523E99
accent
#44E468
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526318

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

Preview Lab → · Contrast checker → · Palette generator →

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