#527B15#527B15

#527B15 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.3% C 0.134 H 130.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#527B15
RGBrgb(82, 123, 21)
HSLhsl(84, 71%, 28%)
HSVhsv(84, 83%, 48%)
CMYKcmyk(33.3%, 0%, 82.9%, 51.8%)
CIE-LABlab(46.99, -30.11, 46.65)
CIE-LCHlch(46.99, 55.52, 122.84°)
OKLaboklab(53.29% -0.086 0.1026)
OKLCHoklch(53.29% 0.134 130)
XYZxyz(10.6979, 16.0135, 3.2366)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527B15 #3E157B
analogous
#7B7115 #527B15 #1F7B15
triadic
#527B15 #15527B #7B1552
tetradic
#527B15 #157B71 #3E157B #7B151F
square
#527B15 #157B71 #3E157B #7B151F
split-complementary
#527B15 #151F7B #71157B
monochromatic
#111A04 #2F470C #527B15 #75AF1E #96DB2F

Accessibility & contrast

On white

5.00
#527B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#527B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527B15
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527B15#FFFFFF#000000##FFFFFF
##527B151.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#547568
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #527b15;
/* rgb */ color: rgb(82, 123, 21);
/* oklch */ color: oklch(53.3% 0.134 130.0);
Tailwind
colors: {
  custom: {
    50: '#87a15d',
    500: '#527b15',
    950: '#000000',
  },
}
SCSS
$custom: #527b15;
$custom-light: #87a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#527b15",
  "rgb": {
    "r": 82,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 84.118,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53292,
    "c": 0.13386,
    "h": 130
  },
  "luminance": 0.16014
}

Semantic roles & 50–950 ramp

primary
#527B15
secondary
#6A3BB0
accent
#3AEE82
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #527B15

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

Preview Lab → · Contrast checker → · Palette generator →

#527B15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva