#526B22#526B22

#526B22 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.2% C 0.104 H 126.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#526B22
RGBrgb(82, 107, 34)
HSLhsl(81, 52%, 28%)
HSVhsv(81, 68%, 42%)
CMYKcmyk(23.4%, 0%, 68.2%, 58%)
CIE-LABlab(41.88, -21.38, 36.60)
CIE-LCHlch(41.88, 42.39, 120.29°)
OKLaboklab(49.17% -0.0611 0.0836)
OKLCHoklch(49.17% 0.104 126.1)
XYZxyz(9.0261, 12.4246, 3.4357)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526B22 #3B226B
analogous
#6B5F22 #526B22 #2D6B22
triadic
#526B22 #22526B #6B2252
tetradic
#526B22 #226B5F #3B226B #6B222D
square
#526B22 #226B5F #3B226B #6B222D
split-complementary
#526B22 #222D6B #5F226B
monochromatic
#121707 #2E3D13 #526B22 #769931 #98C444

Accessibility & contrast

On white

6.03
#526B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#526B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526B22
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526B22#FFFFFF#000000##FFFFFF
##526B221.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716419
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#55665C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #526b22;
/* rgb */ color: rgb(82, 107, 34);
/* oklch */ color: oklch(49.2% 0.104 126.1);
Tailwind
colors: {
  custom: {
    50: '#859561',
    500: '#526b22',
    950: '#000000',
  },
}
SCSS
$custom: #526b22;
$custom-light: #859561;
$custom-dark: #000000;
JSON
{
  "hex": "#526b22",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 34
  },
  "hsl": {
    "h": 80.548,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49169,
    "c": 0.10353,
    "h": 126.1
  },
  "luminance": 0.12425
}

Semantic roles & 50–950 ramp

primary
#526B22
secondary
#674A9F
accent
#4DDB7D
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526B22

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

Preview Lab → · Contrast checker → · Palette generator →

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