#407252#407252

#407252 is a mid, moderate green. Relative luminance 0.137; OKLCH L 50.7% C 0.075 H 154.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#407252
RGBrgb(64, 114, 82)
HSLhsl(142, 28%, 35%)
HSVhsv(142, 44%, 45%)
CMYKcmyk(43.9%, 0%, 28.1%, 55.3%)
CIE-LABlab(43.85, -24.68, 12.58)
CIE-LCHlch(43.85, 27.70, 152.98°)
OKLaboklab(50.72% -0.0677 0.032)
OKLCHoklch(50.72% 0.075 154.7)
XYZxyz(9.6540, 13.7332, 10.1231)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407252 #724060
analogous
#477240 #407252 #40726B
triadic
#407252 #524072 #725240
tetradic
#407252 #404772 #724060 #726B40
square
#407252 #404772 #724060 #726B40
split-complementary
#407252 #6B4072 #724047
monochromatic
#14241A #2A4B36 #407252 #56996E #79B48E

Accessibility & contrast

On white

5.60
#407252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#407252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407252
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407252#FFFFFF#000000##FFFFFF
##4072521.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726B50
Deuteranopia (green-blind)
#6A6654
Tritanopia (blue-blind)
#367169
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #407252;
/* rgb */ color: rgb(64, 114, 82);
/* oklch */ color: oklch(50.7% 0.075 154.7);
Tailwind
colors: {
  custom: {
    50: '#779b82',
    500: '#407252',
    950: '#000000',
  },
}
SCSS
$custom: #407252;
$custom-light: #779b82;
$custom-dark: #000000;
JSON
{
  "hex": "#407252",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 141.6,
    "s": 28.09,
    "l": 34.902
  },
  "oklch": {
    "l": 0.50722,
    "c": 0.07487,
    "h": 154.7
  },
  "luminance": 0.13734
}

Semantic roles & 50–950 ramp

primary
#407252
secondary
#9F6F8E
accent
#63A1C4
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#090E0A
muted
#7B7E7C

Preview Lab

Preview with #407252

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

Preview Lab → · Contrast checker → · Palette generator →

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