#526F16#526F16

#526F16 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.118 H 126.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#526F16
RGBrgb(82, 111, 22)
HSLhsl(80, 67%, 26%)
HSVhsv(80, 80%, 44%)
CMYKcmyk(26.1%, 0%, 80.2%, 56.5%)
CIE-LABlab(43.09, -24.24, 42.71)
CIE-LCHlch(43.09, 49.11, 119.58°)
OKLaboklab(50.12% -0.07 0.0945)
OKLCHoklch(50.12% 0.118 126.5)
XYZxyz(9.3090, 13.2205, 2.8203)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F16 #33166F
analogous
#6F5F16 #526F16 #256F16
triadic
#526F16 #16526F #6F1652
tetradic
#526F16 #166F5F #33166F #6F1625
square
#526F16 #166F5F #33166F #6F1625
split-complementary
#526F16 #16256F #5F166F
monochromatic
#131A05 #2C3C0C #526F16 #78A220 #9DD52B

Accessibility & contrast

On white

5.76
#526F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#526F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526F16
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526F16#FFFFFF#000000##FFFFFF
##526F161.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756702
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#56695E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f16;
/* rgb */ color: rgb(82, 111, 22);
/* oklch */ color: oklch(50.1% 0.118 126.5);
Tailwind
colors: {
  custom: {
    50: '#86985b',
    500: '#526f16',
    950: '#000000',
  },
}
SCSS
$custom: #526f16;
$custom-light: #86985b;
$custom-dark: #000000;
JSON
{
  "hex": "#526f16",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 79.551,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50122,
    "c": 0.11758,
    "h": 126.5
  },
  "luminance": 0.13221
}

Semantic roles & 50–950 ramp

primary
#526F16
secondary
#5E3CA5
accent
#3EEA76
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526F16

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

Preview Lab → · Contrast checker → · Palette generator →

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