#526F28#526F28

#526F28 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.3% C 0.104 H 128.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#526F28
RGBrgb(82, 111, 40)
HSLhsl(85, 47%, 30%)
HSVhsv(85, 64%, 44%)
CMYKcmyk(26.1%, 0%, 64%, 56.5%)
CIE-LABlab(43.24, -22.90, 35.23)
CIE-LCHlch(43.24, 42.02, 123.02°)
OKLaboklab(50.28% -0.0647 0.0815)
OKLCHoklch(50.28% 0.104 128.4)
XYZxyz(9.5471, 13.3157, 4.0743)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F28 #45286F
analogous
#6F6928 #526F28 #2F6F28
triadic
#526F28 #28526F #6F2852
tetradic
#526F28 #286F69 #45286F #6F282F
square
#526F28 #286F69 #45286F #6F282F
split-complementary
#526F28 #282F6F #69286F
monochromatic
#111608 #314218 #526F28 #739C38 #93C051

Accessibility & contrast

On white

5.73
#526F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#526F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526F28
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526F28#FFFFFF#000000##FFFFFF
##526F281.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#70662D
Tritanopia (blue-blind)
#556A60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f28;
/* rgb */ color: rgb(82, 111, 40);
/* oklch */ color: oklch(50.3% 0.104 128.4);
Tailwind
colors: {
  custom: {
    50: '#859865',
    500: '#526f28',
    950: '#000000',
  },
}
SCSS
$custom: #526f28;
$custom-light: #859865;
$custom-dark: #000000;
JSON
{
  "hex": "#526f28",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 40
  },
  "hsl": {
    "h": 84.507,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50282,
    "c": 0.10408,
    "h": 128.4
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#526F28
secondary
#7251A1
accent
#51D788
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526F28

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

Preview Lab → · Contrast checker → · Palette generator →

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