#526D2F#526D2F

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

Color values

HEX#526D2F
RGBrgb(82, 109, 47)
HSLhsl(86, 40%, 31%)
HSVhsv(86, 57%, 43%)
CMYKcmyk(24.8%, 0%, 56.9%, 57.3%)
CIE-LABlab(42.67, -21.15, 31.06)
CIE-LCHlch(42.67, 37.57, 124.25°)
OKLaboklab(49.85% -0.0592 0.0734)
OKLCHoklch(49.85% 0.094 128.9)
XYZxyz(9.4613, 12.9362, 4.6872)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526D2F #4A2F6D
analogous
#6D692F #526D2F #336D2F
triadic
#526D2F #2F526D #6D2F52
tetradic
#526D2F #2F6D69 #4A2F6D #6D2F33
square
#526D2F #2F6D69 #4A2F6D #6D2F33
split-complementary
#526D2F #2F336D #692F6D
monochromatic
#12170A #32421D #526D2F #729841 #91B95D

Accessibility & contrast

On white

5.85
#526D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #526D2F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526D2F#FFFFFF#000000##FFFFFF
##526D2F1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#6E6433
Tritanopia (blue-blind)
#54695F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #526d2f;
/* rgb */ color: rgb(82, 109, 47);
/* oklch */ color: oklch(49.8% 0.094 128.9);
Tailwind
colors: {
  custom: {
    50: '#849769',
    500: '#526d2f',
    950: '#000000',
  },
}
SCSS
$custom: #526d2f;
$custom-light: #849769;
$custom-dark: #000000;
JSON
{
  "hex": "#526d2f",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 47
  },
  "hsl": {
    "h": 86.129,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49848,
    "c": 0.09424,
    "h": 128.9
  },
  "luminance": 0.12936
}

Semantic roles & 50–950 ramp

primary
#526D2F
secondary
#77599E
accent
#58D08C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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