#526B2D#526B2D

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

Color values

HEX#526B2D
RGBrgb(82, 107, 45)
HSLhsl(84, 41%, 30%)
HSVhsv(84, 58%, 42%)
CMYKcmyk(23.4%, 0%, 57.9%, 58%)
CIE-LABlab(42.00, -20.33, 31.32)
CIE-LCHlch(42.00, 37.33, 122.99°)
OKLaboklab(49.3% -0.0571 0.0737)
OKLCHoklch(49.3% 0.093 127.7)
XYZxyz(9.2110, 12.4985, 4.4093)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526B2D #462D6B
analogous
#6B652D #526B2D #336B2D
triadic
#526B2D #2D526B #6B2D52
tetradic
#526B2D #2D6B65 #462D6B #6B2D33
square
#526B2D #2D6B65 #462D6B #6B2D33
split-complementary
#526B2D #2D336B #652D6B
monochromatic
#111609 #31401B #526B2D #73963F #92B959

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526B2D#FFFFFF#000000##FFFFFF
##526B2D1.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)
#706427
Deuteranopia (green-blind)
#6D6331
Tritanopia (blue-blind)
#55665D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #526b2d;
/* rgb */ color: rgb(82, 107, 45);
/* oklch */ color: oklch(49.3% 0.093 127.7);
Tailwind
colors: {
  custom: {
    50: '#849568',
    500: '#526b2d',
    950: '#000000',
  },
}
SCSS
$custom: #526b2d;
$custom-light: #849568;
$custom-dark: #000000;
JSON
{
  "hex": "#526b2d",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 45
  },
  "hsl": {
    "h": 84.194,
    "s": 40.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49299,
    "c": 0.09322,
    "h": 127.7
  },
  "luminance": 0.12499
}

Semantic roles & 50–950 ramp

primary
#526B2D
secondary
#73579D
accent
#57D188
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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