#627331#627331

#627331 is a mid, moderate yellow-green. Relative luminance 0.151; OKLCH L 52.6% C 0.093 H 121.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#627331
RGBrgb(98, 115, 49)
HSLhsl(75, 40%, 32%)
HSVhsv(75, 57%, 45%)
CMYKcmyk(14.8%, 0%, 57.4%, 54.9%)
CIE-LABlab(45.74, -17.25, 33.90)
CIE-LCHlch(45.74, 38.04, 116.97°)
OKLaboklab(52.63% -0.0491 0.0795)
OKLCHoklch(52.63% 0.093 121.7)
XYZxyz(11.7222, 15.0799, 5.1983)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627331 #423173
analogous
#736331 #627331 #417331
triadic
#627331 #316273 #733162
tetradic
#627331 #317363 #423173 #733141
square
#627331 #317363 #423173 #733141
split-complementary
#627331 #314173 #633173
monochromatic
#191D0C #3D481F #627331 #879E43 #A5BC62

Accessibility & contrast

On white

5.23
#627331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#627331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627331
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627331#FFFFFF#000000##FFFFFF
##6273311.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D2A
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#676E64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #627331;
/* rgb */ color: rgb(98, 115, 49);
/* oklch */ color: oklch(52.6% 0.093 121.7);
Tailwind
colors: {
  custom: {
    50: '#909b6b',
    500: '#627331',
    950: '#000000',
  },
}
SCSS
$custom: #627331;
$custom-light: #909b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#627331",
  "rgb": {
    "r": 98,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 75.455,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52631,
    "c": 0.09343,
    "h": 121.7
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#627331
secondary
#6F5CA4
accent
#58D077
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E07
muted
#7E7E7A

Preview Lab

Preview with #627331

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

Preview Lab → · Contrast checker → · Palette generator →

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