#627E31#627E31

#627E31 is a mid, moderate yellow-green. Relative luminance 0.177; OKLCH L 55.4% C 0.109 H 126.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#627E31
RGBrgb(98, 126, 49)
HSLhsl(82, 44%, 34%)
HSVhsv(82, 61%, 49%)
CMYKcmyk(22.2%, 0%, 61.1%, 50.6%)
CIE-LABlab(49.18, -22.98, 37.82)
CIE-LCHlch(49.18, 44.25, 121.29°)
OKLaboklab(55.4% -0.0651 0.0879)
OKLCHoklch(55.4% 0.109 126.5)
XYZxyz(13.0522, 17.7399, 5.6416)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E31 #4D317E
analogous
#7E7431 #627E31 #3C7E31
triadic
#627E31 #31627E #7E3162
tetradic
#627E31 #317E74 #4D317E #7E313C
square
#627E31 #317E74 #4D317E #7E313C
split-complementary
#627E31 #313C7E #74317E
monochromatic
#1D260F #405220 #627E31 #84AA42 #A1C366

Accessibility & contrast

On white

4.62
#627E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#627E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E31
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E31#FFFFFF#000000##FFFFFF
##627E311.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847629
Deuteranopia (green-blind)
#807436
Tritanopia (blue-blind)
#66786D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627e31;
/* rgb */ color: rgb(98, 126, 49);
/* oklch */ color: oklch(55.4% 0.109 126.5);
Tailwind
colors: {
  custom: {
    50: '#91a36c',
    500: '#627e31',
    950: '#000000',
  },
}
SCSS
$custom: #627e31;
$custom-light: #91a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#627e31",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 81.818,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55401,
    "c": 0.10936,
    "h": 126.5
  },
  "luminance": 0.1774
}

Semantic roles & 50–950 ramp

primary
#627E31
secondary
#7B60AB
accent
#54D482
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #627E31

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

Preview Lab → · Contrast checker → · Palette generator →

#627E31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva