#527412#527412

#527412 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.4% C 0.126 H 127.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#527412
RGBrgb(82, 116, 18)
HSLhsl(81, 73%, 26%)
HSVhsv(81, 84%, 45%)
CMYKcmyk(29.3%, 0%, 84.5%, 54.5%)
CIE-LABlab(44.70, -26.91, 45.48)
CIE-LCHlch(44.70, 52.85, 120.61°)
OKLaboklab(51.42% -0.0775 0.0996)
OKLCHoklch(51.42% 0.126 127.9)
XYZxyz(9.8343, 14.3281, 2.8196)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527412 #341274
analogous
#746512 #527412 #217412
triadic
#527412 #125274 #741252
tetradic
#527412 #127465 #341274 #741221
square
#527412 #127465 #341274 #741221
split-complementary
#527412 #122174 #651274
monochromatic
#131A04 #2D3F0A #527412 #77A91A #9DDD23

Accessibility & contrast

On white

5.43
#527412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#527412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527412
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527412#FFFFFF#000000##FFFFFF
##5274121.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#76691D
Tritanopia (blue-blind)
#556E62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #527412;
/* rgb */ color: rgb(82, 116, 18);
/* oklch */ color: oklch(51.4% 0.126 127.9);
Tailwind
colors: {
  custom: {
    50: '#869c5a',
    500: '#527412',
    950: '#000000',
  },
}
SCSS
$custom: #527412;
$custom-light: #869c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#527412",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 80.816,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.5142,
    "c": 0.12625,
    "h": 127.9
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#527412
secondary
#5F37AB
accent
#38F078
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #527412

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

Preview Lab → · Contrast checker → · Palette generator →

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