#526F21#526F21

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

Color values

HEX#526F21
RGBrgb(82, 111, 33)
HSLhsl(82, 54%, 28%)
HSVhsv(82, 70%, 44%)
CMYKcmyk(26.1%, 0%, 70.3%, 56.5%)
CIE-LABlab(43.17, -23.51, 38.41)
CIE-LCHlch(43.17, 45.03, 121.47°)
OKLaboklab(50.21% -0.067 0.0873)
OKLCHoklch(50.21% 0.11 127.5)
XYZxyz(9.4386, 13.2723, 3.5031)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F21 #3E216F
analogous
#6F6521 #526F21 #2B6F21
triadic
#526F21 #21526F #6F2152
tetradic
#526F21 #216F65 #3E216F #6F212B
square
#526F21 #216F65 #3E216F #6F212B
split-complementary
#526F21 #212B6F #65216F
monochromatic
#111807 #2F4013 #526F21 #759E2F #96C743

Accessibility & contrast

On white

5.75
#526F21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#526F21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526F21
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526F21#FFFFFF#000000##FFFFFF
##526F211.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #526f21;
/* rgb */ color: rgb(82, 111, 33);
/* oklch */ color: oklch(50.2% 0.110 127.5);
Tailwind
colors: {
  custom: {
    50: '#859861',
    500: '#526f21',
    950: '#000000',
  },
}
SCSS
$custom: #526f21;
$custom-light: #859861;
$custom-dark: #000000;
JSON
{
  "hex": "#526f21",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 33
  },
  "hsl": {
    "h": 82.308,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50209,
    "c": 0.11003,
    "h": 127.5
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#526F21
secondary
#6A49A3
accent
#4ADE81
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526F21

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

Preview Lab → · Contrast checker → · Palette generator →

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