#526B2F#526B2F

#526B2F is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.3% C 0.091 H 128.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#526B2F
RGBrgb(82, 107, 47)
HSLhsl(85, 39%, 30%)
HSVhsv(85, 56%, 42%)
CMYKcmyk(23.4%, 0%, 56.1%, 58%)
CIE-LABlab(42.02, -20.10, 30.30)
CIE-LCHlch(42.02, 36.36, 123.57°)
OKLaboklab(49.33% -0.0563 0.0717)
OKLCHoklch(49.33% 0.091 128.1)
XYZxyz(9.2504, 12.5143, 4.6169)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526B2F #482F6B
analogous
#6B662F #526B2F #346B2F
triadic
#526B2F #2F526B #6B2F52
tetradic
#526B2F #2F6B66 #482F6B #6B2F34
square
#526B2F #2F6B66 #482F6B #6B2F34
split-complementary
#526B2F #2F346B #662F6B
monochromatic
#11160A #31401C #526B2F #739642 #92B85D

Accessibility & contrast

On white

6.00
#526B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#526B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526B2F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526B2F#FFFFFF#000000##FFFFFF
##526B2F1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706429
Deuteranopia (green-blind)
#6C6333
Tritanopia (blue-blind)
#54675D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #526b2f;
/* rgb */ color: rgb(82, 107, 47);
/* oklch */ color: oklch(49.3% 0.091 128.1);
Tailwind
colors: {
  custom: {
    50: '#849569',
    500: '#526b2f',
    950: '#000000',
  },
}
SCSS
$custom: #526b2f;
$custom-light: #849569;
$custom-dark: #000000;
JSON
{
  "hex": "#526b2f",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 47
  },
  "hsl": {
    "h": 85,
    "s": 38.961,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49327,
    "c": 0.09114,
    "h": 128.1
  },
  "luminance": 0.12514
}

Semantic roles & 50–950 ramp

primary
#526B2F
secondary
#75599C
accent
#59CF8A
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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