#528F1F#528F1F

#528F1F is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.7% C 0.154 H 134.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#528F1F
RGBrgb(82, 143, 31)
HSLhsl(93, 64%, 34%)
HSVhsv(93, 78%, 56%)
CMYKcmyk(42.7%, 0%, 78.3%, 43.9%)
CIE-LABlab(53.53, -38.51, 49.53)
CIE-LCHlch(53.53, 62.74, 127.87°)
OKLaboklab(58.65% -0.108 0.1103)
OKLCHoklch(58.65% 0.154 134.4)
XYZxyz(13.5492, 21.5370, 4.7392)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528F1F #5C1F8F
analogous
#8A8F1F #528F1F #1F8F24
triadic
#528F1F #1F528F #8F1F52
tetradic
#528F1F #1F8A8F #5C1F8F #8F241F
square
#528F1F #1F8A8F #5C1F8F #8F241F
split-complementary
#528F1F #241F8F #8F1F8A
monochromatic
#182A09 #355D14 #528F1F #6FC12A #8ED94F

Accessibility & contrast

On white

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

On black

5.31
#528F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528F1F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528F1F#FFFFFF#000000##000000
##528F1F1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958303
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#51897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #528f1f;
/* rgb */ color: rgb(82, 143, 31);
/* oklch */ color: oklch(58.7% 0.154 134.4);
Tailwind
colors: {
  custom: {
    50: '#88b064',
    500: '#528f1f',
    950: '#000000',
  },
}
SCSS
$custom: #528f1f;
$custom-light: #88b064;
$custom-dark: #000000;
JSON
{
  "hex": "#528f1f",
  "rgb": {
    "r": 82,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 92.679,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58654,
    "c": 0.15432,
    "h": 134.4
  },
  "luminance": 0.21538
}

Semantic roles & 50–950 ramp

primary
#528F1F
secondary
#8A4EBC
accent
#40E79B
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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