#528F12#528F12

#528F12 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.6% C 0.160 H 133.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#528F12
RGBrgb(82, 143, 18)
HSLhsl(89, 78%, 32%)
HSVhsv(89, 87%, 56%)
CMYKcmyk(42.7%, 0%, 87.4%, 43.9%)
CIE-LABlab(53.47, -39.15, 53.23)
CIE-LCHlch(53.47, 66.08, 126.33°)
OKLaboklab(58.59% -0.1105 0.1161)
OKLCHoklch(58.59% 0.16 133.6)
XYZxyz(13.4111, 21.4817, 4.0119)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528F12 #4F128F
analogous
#8F8E12 #528F12 #148F12
triadic
#528F12 #12528F #8F1252
tetradic
#528F12 #128F8E #4F128F #8F1214
square
#528F12 #128F8E #4F128F #8F1214
split-complementary
#528F12 #12148F #8E128F
monochromatic
#142204 #33590B #528F12 #71C519 #90E636

Accessibility & contrast

On white

3.96
#528F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#528F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528F12
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528F12#FFFFFF#000000##000000
##528F121.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#528979
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #528f12;
/* rgb */ color: rgb(82, 143, 18);
/* oklch */ color: oklch(58.6% 0.160 133.6);
Tailwind
colors: {
  custom: {
    50: '#89b05f',
    500: '#528f12',
    950: '#000000',
  },
}
SCSS
$custom: #528f12;
$custom-light: #89b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#528f12",
  "rgb": {
    "r": 82,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 89.28,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58587,
    "c": 0.16022,
    "h": 133.6
  },
  "luminance": 0.21482
}

Semantic roles & 50–950 ramp

primary
#528F12
secondary
#7D3AC3
accent
#34F492
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #528F12

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

Preview Lab → · Contrast checker → · Palette generator →

#528F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva