#526518#526518

#526518 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.5% C 0.103 H 122.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#526518
RGBrgb(82, 101, 24)
HSLhsl(75, 62%, 25%)
HSVhsv(75, 76%, 40%)
CMYKcmyk(18.8%, 0%, 76.2%, 60.4%)
CIE-LABlab(39.86, -18.96, 38.85)
CIE-LCHlch(39.86, 43.23, 116.02°)
OKLaboklab(47.51% -0.0554 0.0867)
OKLCHoklch(47.51% 0.103 122.6)
XYZxyz(8.2983, 11.1671, 2.5823)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526518 #2B1865
analogous
#655218 #526518 #2C6518
triadic
#526518 #185265 #651852
tetradic
#526518 #186552 #2B1865 #65182C
square
#526518 #186552 #2B1865 #65182C
split-complementary
#526518 #182C65 #521865
monochromatic
#141906 #2A340C #526518 #7A9624 #A2C830

Accessibility & contrast

On white

6.49
#526518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#526518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526518
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526518#FFFFFF#000000##FFFFFF
##5265181.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0A
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#576056
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #526518;
/* rgb */ color: rgb(82, 101, 24);
/* oklch */ color: oklch(47.5% 0.103 122.6);
Tailwind
colors: {
  custom: {
    50: '#85915b',
    500: '#526518',
    950: '#000000',
  },
}
SCSS
$custom: #526518;
$custom-light: #85915b;
$custom-dark: #000000;
JSON
{
  "hex": "#526518",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 24
  },
  "hsl": {
    "h": 74.805,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47509,
    "c": 0.10289,
    "h": 122.6
  },
  "luminance": 0.11167
}

Semantic roles & 50–950 ramp

primary
#526518
secondary
#553E9B
accent
#43E56B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526518

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

Preview Lab → · Contrast checker → · Palette generator →

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