#526E28#526E28

#526E28 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.0% C 0.103 H 128.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#526E28
RGBrgb(82, 110, 40)
HSLhsl(84, 47%, 29%)
HSVhsv(84, 64%, 43%)
CMYKcmyk(25.5%, 0%, 63.6%, 56.9%)
CIE-LABlab(42.91, -22.39, 34.88)
CIE-LCHlch(42.91, 41.44, 122.70°)
OKLaboklab(50.02% -0.0633 0.0808)
OKLCHoklch(50.02% 0.103 128.1)
XYZxyz(9.4386, 13.0987, 4.0381)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526E28 #44286E
analogous
#6E6728 #526E28 #2F6E28
triadic
#526E28 #28526E #6E2852
tetradic
#526E28 #286E67 #44286E #6E282F
square
#526E28 #286E67 #44286E #6E282F
split-complementary
#526E28 #282F6E #67286E
monochromatic
#111608 #314118 #526E28 #739B38 #93C051

Accessibility & contrast

On white

5.80
#526E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#526E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526E28
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526E28#FFFFFF#000000##FFFFFF
##526E281.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736720
Deuteranopia (green-blind)
#6F652D
Tritanopia (blue-blind)
#55695F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #526e28;
/* rgb */ color: rgb(82, 110, 40);
/* oklch */ color: oklch(50.0% 0.103 128.1);
Tailwind
colors: {
  custom: {
    50: '#859765',
    500: '#526e28',
    950: '#000000',
  },
}
SCSS
$custom: #526e28;
$custom-light: #859765;
$custom-dark: #000000;
JSON
{
  "hex": "#526e28",
  "rgb": {
    "r": 82,
    "g": 110,
    "b": 40
  },
  "hsl": {
    "h": 84,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5002,
    "c": 0.1026,
    "h": 128.1
  },
  "luminance": 0.13099
}

Semantic roles & 50–950 ramp

primary
#526E28
secondary
#7151A0
accent
#51D687
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526E28

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

Preview Lab → · Contrast checker → · Palette generator →

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