#526C28#526C28

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

Color values

HEX#526C28
RGBrgb(82, 108, 40)
HSLhsl(83, 46%, 29%)
HSVhsv(83, 63%, 42%)
CMYKcmyk(24.1%, 0%, 63%, 57.6%)
CIE-LABlab(42.26, -21.36, 34.15)
CIE-LCHlch(42.26, 40.28, 122.02°)
OKLaboklab(49.5% -0.0604 0.0792)
OKLCHoklch(49.5% 0.1 127.3)
XYZxyz(9.2252, 12.6720, 3.9670)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526C28 #42286C
analogous
#6C6428 #526C28 #306C28
triadic
#526C28 #28526C #6C2852
tetradic
#526C28 #286C64 #42286C #6C2830
square
#526C28 #286C64 #42286C #6C2830
split-complementary
#526C28 #28306C #64286C
monochromatic
#111608 #303F17 #526C28 #749939 #94BE50

Accessibility & contrast

On white

5.94
#526C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#526C28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526C28
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526C28#FFFFFF#000000##FFFFFF
##526C281.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716520
Deuteranopia (green-blind)
#6E632D
Tritanopia (blue-blind)
#55675D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #526c28;
/* rgb */ color: rgb(82, 108, 40);
/* oklch */ color: oklch(49.5% 0.100 127.3);
Tailwind
colors: {
  custom: {
    50: '#859665',
    500: '#526c28',
    950: '#000000',
  },
}
SCSS
$custom: #526c28;
$custom-light: #859665;
$custom-dark: #000000;
JSON
{
  "hex": "#526c28",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 40
  },
  "hsl": {
    "h": 82.941,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49497,
    "c": 0.09965,
    "h": 127.3
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#526C28
secondary
#6F519E
accent
#52D684
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526C28

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

Preview Lab → · Contrast checker → · Palette generator →

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