#627031#627031

#627031 is a mid, moderate yellow-green. Relative luminance 0.144; OKLCH L 51.9% C 0.089 H 120.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#627031
RGBrgb(98, 112, 49)
HSLhsl(73, 39%, 32%)
HSVhsv(73, 56%, 44%)
CMYKcmyk(12.5%, 0%, 56.3%, 56.1%)
CIE-LABlab(44.81, -15.64, 32.82)
CIE-LCHlch(44.81, 36.35, 115.48°)
OKLaboklab(51.88% -0.0446 0.0772)
OKLCHoklch(51.88% 0.089 120)
XYZxyz(11.3857, 14.4068, 5.0861)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627031 #3F3170
analogous
#705F31 #627031 #437031
triadic
#627031 #316270 #703162
tetradic
#627031 #31705F #3F3170 #703143
square
#627031 #31705F #3F3170 #703143
split-complementary
#627031 #314370 #5F3170
monochromatic
#171B0C #3D451E #627031 #879B44 #A6BA61

Accessibility & contrast

On white

5.41
#627031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#627031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627031
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627031#FFFFFF#000000##FFFFFF
##6270311.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A2B
Deuteranopia (green-blind)
#756A35
Tritanopia (blue-blind)
#676B62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #627031;
/* rgb */ color: rgb(98, 112, 49);
/* oklch */ color: oklch(51.9% 0.089 120.0);
Tailwind
colors: {
  custom: {
    50: '#90996b',
    500: '#627031',
    950: '#000000',
  },
}
SCSS
$custom: #627031;
$custom-light: #90996b;
$custom-dark: #000000;
JSON
{
  "hex": "#627031",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 49
  },
  "hsl": {
    "h": 73.333,
    "s": 39.13,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51882,
    "c": 0.0891,
    "h": 120
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#627031
secondary
#6B5CA1
accent
#59CF73
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D07
muted
#7E7E7A

Preview Lab

Preview with #627031

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

Preview Lab → · Contrast checker → · Palette generator →

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