#527B16#527B16

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

Color values

HEX#527B16
RGBrgb(82, 123, 22)
HSLhsl(84, 70%, 28%)
HSVhsv(84, 82%, 48%)
CMYKcmyk(33.3%, 0%, 82.1%, 51.8%)
CIE-LABlab(47.00, -30.06, 46.35)
CIE-LCHlch(47.00, 55.24, 122.97°)
OKLaboklab(53.3% -0.0858 0.1021)
OKLCHoklch(53.3% 0.133 130)
XYZxyz(10.7074, 16.0173, 3.2864)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527B16 #3F167B
analogous
#7B7116 #527B16 #207B16
triadic
#527B16 #16527B #7B1652
tetradic
#527B16 #167B71 #3F167B #7B1620
square
#527B16 #167B71 #3F167B #7B1620
split-complementary
#527B16 #16207B #71167B
monochromatic
#111A05 #2F470D #527B16 #75AF1F #96DA31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##527B16#FFFFFF#000000##FFFFFF
##527B161.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)
#7B6E21
Tritanopia (blue-blind)
#547568
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #527b16;
/* rgb */ color: rgb(82, 123, 22);
/* oklch */ color: oklch(53.3% 0.133 130.0);
Tailwind
colors: {
  custom: {
    50: '#87a15d',
    500: '#527b16',
    950: '#000000',
  },
}
SCSS
$custom: #527b16;
$custom-light: #87a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#527b16",
  "rgb": {
    "r": 82,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 84.356,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53297,
    "c": 0.13337,
    "h": 130
  },
  "luminance": 0.16018
}

Semantic roles & 50–950 ramp

primary
#527B16
secondary
#6C3DB0
accent
#3BEC83
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #527B16

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

Preview Lab → · Contrast checker → · Palette generator →

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