#526D2E#526D2E

#526D2E is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.8% C 0.095 H 128.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#526D2E
RGBrgb(82, 109, 46)
HSLhsl(86, 41%, 30%)
HSVhsv(86, 58%, 43%)
CMYKcmyk(24.8%, 0%, 57.8%, 57.3%)
CIE-LABlab(42.65, -21.26, 31.56)
CIE-LCHlch(42.65, 38.05, 123.96°)
OKLaboklab(49.83% -0.0596 0.0744)
OKLCHoklch(49.83% 0.095 128.7)
XYZxyz(9.4414, 12.9282, 4.5822)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526D2E #492E6D
analogous
#6D682E #526D2E #336D2E
triadic
#526D2E #2E526D #6D2E52
tetradic
#526D2E #2E6D68 #492E6D #6D2E33
square
#526D2E #2E6D68 #492E6D #6D2E33
split-complementary
#526D2E #2E336D #682E6D
monochromatic
#11170A #32421C #526D2E #729840 #91BA5B

Accessibility & contrast

On white

5.86
#526D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#526D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526D2E
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526D2E#FFFFFF#000000##FFFFFF
##526D2E1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726628
Deuteranopia (green-blind)
#6E6432
Tritanopia (blue-blind)
#54685F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #526d2e;
/* rgb */ color: rgb(82, 109, 46);
/* oklch */ color: oklch(49.8% 0.095 128.7);
Tailwind
colors: {
  custom: {
    50: '#849769',
    500: '#526d2e',
    950: '#000000',
  },
}
SCSS
$custom: #526d2e;
$custom-light: #849769;
$custom-dark: #000000;
JSON
{
  "hex": "#526d2e",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 46
  },
  "hsl": {
    "h": 85.714,
    "s": 40.645,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49834,
    "c": 0.09527,
    "h": 128.7
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#526D2E
secondary
#76589F
accent
#57D08B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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