#527112#527112

#527112 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.6% C 0.122 H 127.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#527112
RGBrgb(82, 113, 18)
HSLhsl(80, 73%, 26%)
HSVhsv(80, 84%, 44%)
CMYKcmyk(27.4%, 0%, 84.1%, 55.7%)
CIE-LABlab(43.72, -25.44, 44.60)
CIE-LCHlch(43.72, 51.35, 119.69°)
OKLaboklab(50.63% -0.0736 0.0978)
OKLCHoklch(50.63% 0.122 127)
XYZxyz(9.4940, 13.6476, 2.7062)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527112 #311271
analogous
#716012 #527112 #227112
triadic
#527112 #125271 #711252
tetradic
#527112 #127160 #311271 #711222
square
#527112 #127160 #311271 #711222
split-complementary
#527112 #122271 #601271
monochromatic
#131A04 #2C3C0A #527112 #78A61A #9FDB23

Accessibility & contrast

On white

5.63
#527112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#527112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527112
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527112#FFFFFF#000000##FFFFFF
##5271121.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#566B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #527112;
/* rgb */ color: rgb(82, 113, 18);
/* oklch */ color: oklch(50.6% 0.122 127.0);
Tailwind
colors: {
  custom: {
    50: '#869a5a',
    500: '#527112',
    950: '#000000',
  },
}
SCSS
$custom: #527112;
$custom-light: #869a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#527112",
  "rgb": {
    "r": 82,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 79.579,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50627,
    "c": 0.12234,
    "h": 127
  },
  "luminance": 0.13648
}

Semantic roles & 50–950 ramp

primary
#527112
secondary
#5C37A8
accent
#39EF74
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #527112

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

Preview Lab → · Contrast checker → · Palette generator →

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