#526C18#526C18

#526C18 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.3% C 0.112 H 125.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#526C18
RGBrgb(82, 108, 24)
HSLhsl(79, 64%, 26%)
HSVhsv(79, 78%, 42%)
CMYKcmyk(24.1%, 0%, 77.8%, 57.6%)
CIE-LABlab(42.13, -22.61, 41.06)
CIE-LCHlch(42.13, 46.87, 118.83°)
OKLaboklab(49.35% -0.0654 0.0914)
OKLCHoklch(49.35% 0.112 125.6)
XYZxyz(9.0072, 12.5848, 2.8185)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526C18 #32186C
analogous
#6C5C18 #526C18 #286C18
triadic
#526C18 #18526C #6C1852
tetradic
#526C18 #186C5C #32186C #6C1828
square
#526C18 #186C5C #32186C #6C1828
split-complementary
#526C18 #18286C #5C186C
monochromatic
#131906 #2C3A0D #526C18 #789E23 #9ED02E

Accessibility & contrast

On white

5.97
#526C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#526C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526C18
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526C18#FFFFFF#000000##FFFFFF
##526C181.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726407
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#56675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #526c18;
/* rgb */ color: rgb(82, 108, 24);
/* oklch */ color: oklch(49.3% 0.112 125.6);
Tailwind
colors: {
  custom: {
    50: '#86965c',
    500: '#526c18',
    950: '#000000',
  },
}
SCSS
$custom: #526c18;
$custom-light: #86965c;
$custom-dark: #000000;
JSON
{
  "hex": "#526c18",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 78.571,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49345,
    "c": 0.11234,
    "h": 125.6
  },
  "luminance": 0.12585
}

Semantic roles & 50–950 ramp

primary
#526C18
secondary
#5D3EA2
accent
#41E774
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526C18

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

Preview Lab → · Contrast checker → · Palette generator →

#526C18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva