#526D18#526D18

#526D18 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.6% C 0.114 H 126.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#526D18
RGBrgb(82, 109, 24)
HSLhsl(79, 64%, 26%)
HSVhsv(79, 78%, 43%)
CMYKcmyk(24.8%, 0%, 78%, 57.3%)
CIE-LABlab(42.46, -23.12, 41.38)
CIE-LCHlch(42.46, 47.40, 119.19°)
OKLaboklab(49.61% -0.0668 0.092)
OKLCHoklch(49.61% 0.114 126)
XYZxyz(9.1132, 12.7969, 2.8539)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526D18 #33186D
analogous
#6D5D18 #526D18 #276D18
triadic
#526D18 #18526D #6D1852
tetradic
#526D18 #186D5D #33186D #6D1827
square
#526D18 #186D5D #33186D #6D1827
split-complementary
#526D18 #18276D #5D186D
monochromatic
#131906 #2C3B0D #526D18 #789F23 #9DD12E

Accessibility & contrast

On white

5.90
#526D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#526D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526D18
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526D18#FFFFFF#000000##FFFFFF
##526D181.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#56685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #526d18;
/* rgb */ color: rgb(82, 109, 24);
/* oklch */ color: oklch(49.6% 0.114 126.0);
Tailwind
colors: {
  custom: {
    50: '#86975c',
    500: '#526d18',
    950: '#000000',
  },
}
SCSS
$custom: #526d18;
$custom-light: #86975c;
$custom-dark: #000000;
JSON
{
  "hex": "#526d18",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 79.059,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49609,
    "c": 0.11369,
    "h": 126
  },
  "luminance": 0.12797
}

Semantic roles & 50–950 ramp

primary
#526D18
secondary
#5E3EA3
accent
#41E776
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526D18

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

Preview Lab → · Contrast checker → · Palette generator →

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