#527E12#527E12

#527E12 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.139 H 130.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#527E12
RGBrgb(82, 126, 18)
HSLhsl(84, 75%, 28%)
HSVhsv(84, 86%, 49%)
CMYKcmyk(34.9%, 0%, 85.7%, 50.6%)
CIE-LABlab(47.95, -31.64, 48.39)
CIE-LCHlch(47.95, 57.81, 123.18°)
OKLaboklab(54.07% -0.0903 0.1058)
OKLCHoklch(54.07% 0.139 130.5)
XYZxyz(11.0497, 16.7588, 3.2247)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527E12 #3E127E
analogous
#7E7412 #527E12 #1C7E12
triadic
#527E12 #12527E #7E1252
tetradic
#527E12 #127E74 #3E127E #7E121C
square
#527E12 #127E74 #3E127E #7E121C
split-complementary
#527E12 #121C7E #74127E
monochromatic
#111B04 #2F480A #527E12 #75B41A #96E12A

Accessibility & contrast

On white

4.83
#527E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#527E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527E12
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527E12#FFFFFF#000000##FFFFFF
##527E121.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#54786B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #527e12;
/* rgb */ color: rgb(82, 126, 18);
/* oklch */ color: oklch(54.1% 0.139 130.5);
Tailwind
colors: {
  custom: {
    50: '#87a35c',
    500: '#527e12',
    950: '#000000',
  },
}
SCSS
$custom: #527e12;
$custom-light: #87a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#527e12",
  "rgb": {
    "r": 82,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 84.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.13909,
    "h": 130.5
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#527E12
secondary
#6A38B4
accent
#36F283
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F04
muted
#7D7F79

Preview Lab

Preview with #527E12

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

Preview Lab → · Contrast checker → · Palette generator →

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