#526418#526418

#526418 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.2% C 0.102 H 122.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#526418
RGBrgb(82, 100, 24)
HSLhsl(74, 61%, 24%)
HSVhsv(74, 76%, 39%)
CMYKcmyk(18%, 0%, 76%, 60.8%)
CIE-LABlab(39.54, -18.43, 38.53)
CIE-LCHlch(39.54, 42.71, 115.57°)
OKLaboklab(47.25% -0.0539 0.086)
OKLCHoklch(47.25% 0.102 122.1)
XYZxyz(8.2018, 10.9741, 2.5501)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526418 #2A1864
analogous
#645018 #526418 #2C6418
triadic
#526418 #185264 #641852
tetradic
#526418 #186450 #2A1864 #64182C
square
#526418 #186450 #2A1864 #64182C
split-complementary
#526418 #182C64 #501864
monochromatic
#141906 #2A330C #526418 #7A9524 #A3C730

Accessibility & contrast

On white

6.57
#526418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#526418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526418
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526418#FFFFFF#000000##FFFFFF
##5264181.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E0A
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#575F55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #526418;
/* rgb */ color: rgb(82, 100, 24);
/* oklch */ color: oklch(47.2% 0.102 122.1);
Tailwind
colors: {
  custom: {
    50: '#85905b',
    500: '#526418',
    950: '#000000',
  },
}
SCSS
$custom: #526418;
$custom-light: #85905b;
$custom-dark: #000000;
JSON
{
  "hex": "#526418",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 74.211,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47248,
    "c": 0.10154,
    "h": 122.1
  },
  "luminance": 0.10974
}

Semantic roles & 50–950 ramp

primary
#526418
secondary
#543E9A
accent
#43E46A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526418

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

Preview Lab → · Contrast checker → · Palette generator →

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