#526C2B#526C2B

#526C2B is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.5% C 0.097 H 127.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#526C2B
RGBrgb(82, 108, 43)
HSLhsl(84, 43%, 30%)
HSVhsv(84, 60%, 42%)
CMYKcmyk(24.1%, 0%, 60.2%, 57.6%)
CIE-LABlab(42.30, -21.06, 32.69)
CIE-LCHlch(42.30, 38.89, 122.79°)
OKLaboklab(49.53% -0.0593 0.0765)
OKLCHoklch(49.53% 0.097 127.8)
XYZxyz(9.2782, 12.6932, 4.2462)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526C2B #452B6C
analogous
#6C662B #526C2B #326C2B
triadic
#526C2B #2B526C #6C2B52
tetradic
#526C2B #2B6C66 #452B6C #6C2B32
square
#526C2B #2B6C66 #452B6C #6C2B32
split-complementary
#526C2B #2B326C #662B6C
monochromatic
#111609 #31401A #526C2B #73983C #93BC56

Accessibility & contrast

On white

5.93
#526C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#526C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526C2B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526C2B#FFFFFF#000000##FFFFFF
##526C2B1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716524
Deuteranopia (green-blind)
#6E632F
Tritanopia (blue-blind)
#55675E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #526c2b;
/* rgb */ color: rgb(82, 108, 43);
/* oklch */ color: oklch(49.5% 0.097 127.8);
Tailwind
colors: {
  custom: {
    50: '#849667',
    500: '#526c2b',
    950: '#000000',
  },
}
SCSS
$custom: #526c2b;
$custom-light: #849667;
$custom-dark: #000000;
JSON
{
  "hex": "#526c2b",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 43
  },
  "hsl": {
    "h": 84,
    "s": 43.046,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49534,
    "c": 0.09676,
    "h": 127.8
  },
  "luminance": 0.12693
}

Semantic roles & 50–950 ramp

primary
#526C2B
secondary
#72559E
accent
#55D387
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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