#527612#527612

#527612 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.9% C 0.129 H 128.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#527612
RGBrgb(82, 118, 18)
HSLhsl(82, 74%, 27%)
HSVhsv(82, 85%, 46%)
CMYKcmyk(30.5%, 0%, 84.7%, 53.7%)
CIE-LABlab(45.35, -27.87, 46.07)
CIE-LCHlch(45.35, 53.84, 121.18°)
OKLaboklab(51.95% -0.0802 0.1009)
OKLCHoklch(51.95% 0.129 128.5)
XYZxyz(10.0673, 14.7941, 2.8973)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527612 #361276
analogous
#766812 #527612 #207612
triadic
#527612 #125276 #761252
tetradic
#527612 #127668 #361276 #761220
square
#527612 #127668 #361276 #761220
split-complementary
#527612 #122076 #681276
monochromatic
#121B04 #2D410A #527612 #77AB1A #9BDE25

Accessibility & contrast

On white

5.30
#527612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#527612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527612
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527612#FFFFFF#000000##FFFFFF
##5276121.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#776B1E
Tritanopia (blue-blind)
#557064
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #527612;
/* rgb */ color: rgb(82, 118, 18);
/* oklch */ color: oklch(51.9% 0.129 128.5);
Tailwind
colors: {
  custom: {
    50: '#869d5b',
    500: '#527612',
    950: '#000000',
  },
}
SCSS
$custom: #527612;
$custom-light: #869d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#527612",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 81.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.5195,
    "c": 0.12883,
    "h": 128.5
  },
  "luminance": 0.14794
}

Semantic roles & 50–950 ramp

primary
#527612
secondary
#6137AD
accent
#38F07A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #527612

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

Preview Lab → · Contrast checker → · Palette generator →

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