#527915#527915

#527915 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.8% C 0.131 H 129.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#527915
RGBrgb(82, 121, 21)
HSLhsl(83, 70%, 28%)
HSVhsv(83, 83%, 47%)
CMYKcmyk(32.2%, 0%, 82.6%, 52.5%)
CIE-LABlab(46.34, -29.16, 46.06)
CIE-LCHlch(46.34, 54.51, 122.34°)
OKLaboklab(52.76% -0.0834 0.1013)
OKLCHoklch(52.76% 0.131 129.5)
XYZxyz(10.4524, 15.5224, 3.1547)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527915 #3C1579
analogous
#796E15 #527915 #207915
triadic
#527915 #155279 #791552
tetradic
#527915 #15796E #3C1579 #791520
square
#527915 #15796E #3C1579 #791520
split-complementary
#527915 #152079 #6E1579
monochromatic
#121A05 #2F450C #527915 #75AD1E #97DB2E

Accessibility & contrast

On white

5.12
#527915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#527915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527915
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527915#FFFFFF#000000##FFFFFF
##5279151.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#557367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #527915;
/* rgb */ color: rgb(82, 121, 21);
/* oklch */ color: oklch(52.8% 0.131 129.5);
Tailwind
colors: {
  custom: {
    50: '#87a05c',
    500: '#527915',
    950: '#000000',
  },
}
SCSS
$custom: #527915;
$custom-light: #87a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#527915",
  "rgb": {
    "r": 82,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 83.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52761,
    "c": 0.13128,
    "h": 129.5
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#527915
secondary
#683BAF
accent
#3BED80
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #527915

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

Preview Lab → · Contrast checker → · Palette generator →

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