#526D16#526D16

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

Color values

HEX#526D16
RGBrgb(82, 109, 22)
HSLhsl(79, 66%, 26%)
HSVhsv(79, 80%, 43%)
CMYKcmyk(24.8%, 0%, 79.8%, 57.3%)
CIE-LABlab(42.44, -23.23, 42.10)
CIE-LCHlch(42.44, 48.08, 118.89°)
OKLaboklab(49.6% -0.0673 0.0932)
OKLCHoklch(49.6% 0.115 125.8)
XYZxyz(9.0932, 12.7889, 2.7483)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526D16 #31166D
analogous
#6D5C16 #526D16 #266D16
triadic
#526D16 #16526D #6D1652
tetradic
#526D16 #166D5C #31166D #6D1626
square
#526D16 #166D5C #31166D #6D1626
split-complementary
#526D16 #16266D #5C166D
monochromatic
#131905 #2C3A0C #526D16 #78A020 #9FD32B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526D16#FFFFFF#000000##FFFFFF
##526D161.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)
#736502
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#56675D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #526d16;
/* rgb */ color: rgb(82, 109, 22);
/* oklch */ color: oklch(49.6% 0.115 125.8);
Tailwind
colors: {
  custom: {
    50: '#86975b',
    500: '#526d16',
    950: '#000000',
  },
}
SCSS
$custom: #526d16;
$custom-light: #86975b;
$custom-dark: #000000;
JSON
{
  "hex": "#526d16",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 78.621,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49595,
    "c": 0.11492,
    "h": 125.8
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

primary
#526D16
secondary
#5C3CA3
accent
#3EE973
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526D16

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

Preview Lab → · Contrast checker → · Palette generator →

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