#526E16#526E16

#526E16 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.9% C 0.116 H 126.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#526E16
RGBrgb(82, 110, 22)
HSLhsl(79, 67%, 26%)
HSVhsv(79, 80%, 43%)
CMYKcmyk(25.5%, 0%, 80%, 56.9%)
CIE-LABlab(42.77, -23.74, 42.40)
CIE-LCHlch(42.77, 48.60, 119.24°)
OKLaboklab(49.86% -0.0686 0.0938)
OKLCHoklch(49.86% 0.116 126.2)
XYZxyz(9.2005, 13.0035, 2.7841)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526E16 #32166E
analogous
#6E5E16 #526E16 #266E16
triadic
#526E16 #16526E #6E1652
tetradic
#526E16 #166E5E #32166E #6E1626
square
#526E16 #166E5E #32166E #6E1626
split-complementary
#526E16 #16266E #5E166E
monochromatic
#131A05 #2C3B0C #526E16 #78A120 #9ED42A

Accessibility & contrast

On white

5.83
#526E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#526E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526E16
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526E16#FFFFFF#000000##FFFFFF
##526E161.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746602
Deuteranopia (green-blind)
#70651F
Tritanopia (blue-blind)
#56685D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #526e16;
/* rgb */ color: rgb(82, 110, 22);
/* oklch */ color: oklch(49.9% 0.116 126.2);
Tailwind
colors: {
  custom: {
    50: '#86975b',
    500: '#526e16',
    950: '#000000',
  },
}
SCSS
$custom: #526e16;
$custom-light: #86975b;
$custom-dark: #000000;
JSON
{
  "hex": "#526e16",
  "rgb": {
    "r": 82,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 79.091,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49858,
    "c": 0.11624,
    "h": 126.2
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#526E16
secondary
#5D3CA4
accent
#3EEA75
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526E16

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

Preview Lab → · Contrast checker → · Palette generator →

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