#527512#527512

#527512 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.7% C 0.128 H 128.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#527512
RGBrgb(82, 117, 18)
HSLhsl(81, 73%, 26%)
HSVhsv(81, 85%, 46%)
CMYKcmyk(29.9%, 0%, 84.6%, 54.1%)
CIE-LABlab(45.03, -27.39, 45.78)
CIE-LCHlch(45.03, 53.35, 120.89°)
OKLaboklab(51.69% -0.0789 0.1002)
OKLCHoklch(51.69% 0.128 128.2)
XYZxyz(9.9502, 14.5598, 2.8582)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527512 #351275
analogous
#756712 #527512 #217512
triadic
#527512 #125275 #751252
tetradic
#527512 #127567 #351275 #751221
square
#527512 #127567 #351275 #751221
split-complementary
#527512 #122175 #671275
monochromatic
#131B04 #2D400A #527512 #77AA1A #9CDD24

Accessibility & contrast

On white

5.37
#527512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#527512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527512
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527512#FFFFFF#000000##FFFFFF
##5275121.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#766A1D
Tritanopia (blue-blind)
#556F63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #527512;
/* rgb */ color: rgb(82, 117, 18);
/* oklch */ color: oklch(51.7% 0.128 128.2);
Tailwind
colors: {
  custom: {
    50: '#869d5a',
    500: '#527512',
    950: '#000000',
  },
}
SCSS
$custom: #527512;
$custom-light: #869d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#527512",
  "rgb": {
    "r": 82,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 81.212,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51685,
    "c": 0.12754,
    "h": 128.2
  },
  "luminance": 0.1456
}

Semantic roles & 50–950 ramp

primary
#527512
secondary
#6037AC
accent
#38F079
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #527512

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

Preview Lab → · Contrast checker → · Palette generator →

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