#528227#528227

#528227 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.3% C 0.132 H 133.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#528227
RGBrgb(82, 130, 39)
HSLhsl(92, 54%, 33%)
HSVhsv(92, 70%, 51%)
CMYKcmyk(36.9%, 0%, 70%, 49%)
CIE-LABlab(49.38, -32.18, 42.31)
CIE-LCHlch(49.38, 53.16, 127.26°)
OKLaboklab(55.28% -0.0902 0.0963)
OKLCHoklch(55.28% 0.132 133.1)
XYZxyz(11.8283, 17.9051, 4.7519)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528227 #572782
analogous
#7F8227 #528227 #278229
triadic
#528227 #275282 #822752
tetradic
#528227 #277F82 #572782 #822927
square
#528227 #277F82 #572782 #822927
split-complementary
#528227 #292782 #82277F
monochromatic
#17240B #345319 #528227 #70B135 #8ECD57

Accessibility & contrast

On white

4.58
#528227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#528227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528227
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528227#FFFFFF#000000##000000
##5282271.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781A
Deuteranopia (green-blind)
#81742F
Tritanopia (blue-blind)
#527D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #528227;
/* rgb */ color: rgb(82, 130, 39);
/* oklch */ color: oklch(55.3% 0.132 133.1);
Tailwind
colors: {
  custom: {
    50: '#86a666',
    500: '#528227',
    950: '#000000',
  },
}
SCSS
$custom: #528227;
$custom-light: #86a666;
$custom-dark: #000000;
JSON
{
  "hex": "#528227",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 91.648,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55277,
    "c": 0.13199,
    "h": 133.1
  },
  "luminance": 0.17906
}

Semantic roles & 50–950 ramp

primary
#528227
secondary
#8553B1
accent
#4BDD98
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #528227

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

Preview Lab → · Contrast checker → · Palette generator →

#528227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva