#526811#526811

#526811 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.2% C 0.111 H 123.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#526811
RGBrgb(82, 104, 17)
HSLhsl(75, 72%, 24%)
HSVhsv(75, 84%, 41%)
CMYKcmyk(21.2%, 0%, 83.7%, 59.2%)
CIE-LABlab(40.79, -20.92, 42.27)
CIE-LCHlch(40.79, 47.16, 116.34°)
OKLaboklab(48.25% -0.0614 0.0926)
OKLCHoklch(48.25% 0.111 123.5)
XYZxyz(8.5313, 11.7349, 2.3458)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526811 #271168
analogous
#685211 #526811 #266811
triadic
#526811 #115268 #681152
tetradic
#526811 #116852 #271168 #681126
square
#526811 #116852 #271168 #681126
split-complementary
#526811 #112668 #521168
monochromatic
#151A04 #293308 #526811 #7B9D1A #A5D122

Accessibility & contrast

On white

6.27
#526811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#526811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526811
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526811#FFFFFF#000000##FFFFFF
##5268111.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#6C601A
Tritanopia (blue-blind)
#576258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #526811;
/* rgb */ color: rgb(82, 104, 17);
/* oklch */ color: oklch(48.2% 0.111 123.5);
Tailwind
colors: {
  custom: {
    50: '#869358',
    500: '#526811',
    950: '#000000',
  },
}
SCSS
$custom: #526811;
$custom-light: #869358;
$custom-dark: #000000;
JSON
{
  "hex": "#526811",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 75.172,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48248,
    "c": 0.11111,
    "h": 123.5
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#526811
secondary
#5035A0
accent
#39EF67
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526811

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

Preview Lab → · Contrast checker → · Palette generator →

#526811 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva