#526F22#526F22

#526F22 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.109 H 127.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#526F22
RGBrgb(82, 111, 34)
HSLhsl(83, 53%, 28%)
HSVhsv(83, 69%, 44%)
CMYKcmyk(26.1%, 0%, 69.4%, 56.5%)
CIE-LABlab(43.18, -23.43, 37.97)
CIE-LCHlch(43.18, 44.62, 121.67°)
OKLaboklab(50.22% -0.0667 0.0865)
OKLCHoklch(50.22% 0.109 127.6)
XYZxyz(9.4528, 13.2780, 3.5780)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F22 #3F226F
analogous
#6F6522 #526F22 #2C6F22
triadic
#526F22 #22526F #6F2252
tetradic
#526F22 #226F65 #3F226F #6F222C
square
#526F22 #226F65 #3F226F #6F222C
split-complementary
#526F22 #222C6F #65226F
monochromatic
#111707 #2F4014 #526F22 #759E30 #96C645

Accessibility & contrast

On white

5.74
#526F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#526F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526F22
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526F22#FFFFFF#000000##FFFFFF
##526F221.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756718
Deuteranopia (green-blind)
#716528
Tritanopia (blue-blind)
#556A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f22;
/* rgb */ color: rgb(82, 111, 34);
/* oklch */ color: oklch(50.2% 0.109 127.6);
Tailwind
colors: {
  custom: {
    50: '#859861',
    500: '#526f22',
    950: '#000000',
  },
}
SCSS
$custom: #526f22;
$custom-light: #859861;
$custom-dark: #000000;
JSON
{
  "hex": "#526f22",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 82.597,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50219,
    "c": 0.10924,
    "h": 127.6
  },
  "luminance": 0.13278
}

Semantic roles & 50–950 ramp

primary
#526F22
secondary
#6C4AA2
accent
#4BDD82
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526F22

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

Preview Lab → · Contrast checker → · Palette generator →

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