#527331#527331

#527331 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.4% C 0.101 H 131.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#527331
RGBrgb(82, 115, 49)
HSLhsl(90, 40%, 32%)
HSVhsv(90, 57%, 45%)
CMYKcmyk(28.7%, 0%, 57.4%, 54.9%)
CIE-LABlab(44.63, -23.99, 32.32)
CIE-LCHlch(44.63, 40.25, 126.59°)
OKLaboklab(51.44% -0.0669 0.0763)
OKLCHoklch(51.44% 0.101 131.2)
XYZxyz(10.1647, 14.2768, 5.1253)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527331 #523173
analogous
#737331 #527331 #317331
triadic
#527331 #315273 #733152
tetradic
#527331 #317373 #523173 #733131
square
#527331 #317373 #523173 #733131
split-complementary
#527331 #313173 #733173
monochromatic
#151D0C #33481F #527331 #719E43 #8FBC62

Accessibility & contrast

On white

5.45
#527331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#527331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527331
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527331#FFFFFF#000000##FFFFFF
##5273311.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B2B
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#536F64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #527331;
/* rgb */ color: rgb(82, 115, 49);
/* oklch */ color: oklch(51.4% 0.101 131.2);
Tailwind
colors: {
  custom: {
    50: '#859b6b',
    500: '#527331',
    950: '#000000',
  },
}
SCSS
$custom: #527331;
$custom-light: #859b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#527331",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 90,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51442,
    "c": 0.10145,
    "h": 131.2
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

primary
#527331
secondary
#805CA4
accent
#58D094
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #527331

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

Preview Lab → · Contrast checker → · Palette generator →

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