#627E2B#627E2B

#627E2B is a mid, moderate yellow-green. Relative luminance 0.177; OKLCH L 55.3% C 0.115 H 125.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#627E2B
RGBrgb(98, 126, 43)
HSLhsl(80, 49%, 33%)
HSVhsv(80, 66%, 49%)
CMYKcmyk(22.2%, 0%, 65.9%, 50.6%)
CIE-LABlab(49.12, -23.52, 40.57)
CIE-LCHlch(49.12, 46.89, 120.10°)
OKLaboklab(55.34% -0.0671 0.093)
OKLCHoklch(55.34% 0.115 125.8)
XYZxyz(12.9339, 17.6926, 5.0186)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E2B #472B7E
analogous
#7E702B #627E2B #387E2B
triadic
#627E2B #2B627E #7E2B62
tetradic
#627E2B #2B7E70 #472B7E #7E2B38
square
#627E2B #2B7E70 #472B7E #7E2B38
split-complementary
#627E2B #2B387E #702B7E
monochromatic
#1B230C #3F501B #627E2B #85AC3B #A3C75C

Accessibility & contrast

On white

4.63
#627E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#627E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E2B
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E2B#FFFFFF#000000##FFFFFF
##627E2B1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #627e2b;
/* rgb */ color: rgb(98, 126, 43);
/* oklch */ color: oklch(55.3% 0.115 125.8);
Tailwind
colors: {
  custom: {
    50: '#91a369',
    500: '#627e2b',
    950: '#000000',
  },
}
SCSS
$custom: #627e2b;
$custom-light: #91a369;
$custom-dark: #000000;
JSON
{
  "hex": "#627e2b",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 80.241,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55335,
    "c": 0.11467,
    "h": 125.8
  },
  "luminance": 0.17693
}

Semantic roles & 50–950 ramp

primary
#627E2B
secondary
#7458AD
accent
#4FD97E
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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