#527312#527312

#527312 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.2% C 0.125 H 127.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#527312
RGBrgb(82, 115, 18)
HSLhsl(80, 73%, 26%)
HSVhsv(80, 84%, 45%)
CMYKcmyk(28.7%, 0%, 84.3%, 54.9%)
CIE-LABlab(44.37, -26.42, 45.19)
CIE-LCHlch(44.37, 52.35, 120.31°)
OKLaboklab(51.16% -0.0762 0.099)
OKLCHoklch(51.16% 0.125 127.6)
XYZxyz(9.7196, 14.0988, 2.7814)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527312 #331273
analogous
#736312 #527312 #227312
triadic
#527312 #125273 #731252
tetradic
#527312 #127363 #331273 #731222
square
#527312 #127363 #331273 #731222
split-complementary
#527312 #122273 #631273
monochromatic
#131A04 #2C3E0A #527312 #78A81A #9DDD23

Accessibility & contrast

On white

5.50
#527312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#527312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527312
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527312#FFFFFF#000000##FFFFFF
##5273121.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#556D61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #527312;
/* rgb */ color: rgb(82, 115, 18);
/* oklch */ color: oklch(51.2% 0.125 127.6);
Tailwind
colors: {
  custom: {
    50: '#869b5a',
    500: '#527312',
    950: '#000000',
  },
}
SCSS
$custom: #527312;
$custom-light: #869b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#527312",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 80.412,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51156,
    "c": 0.12495,
    "h": 127.6
  },
  "luminance": 0.14099
}

Semantic roles & 50–950 ramp

primary
#527312
secondary
#5E37AA
accent
#38F077
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #527312

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

Preview Lab → · Contrast checker → · Palette generator →

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