#627C2D#627C2D

#627C2D is a mid, moderate yellow-green. Relative luminance 0.172; OKLCH L 54.8% C 0.110 H 125.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#627C2D
RGBrgb(98, 124, 45)
HSLhsl(80, 47%, 33%)
HSVhsv(80, 64%, 49%)
CMYKcmyk(21%, 0%, 63.7%, 51.4%)
CIE-LABlab(48.51, -22.33, 38.98)
CIE-LCHlch(48.51, 44.93, 119.80°)
OKLaboklab(54.85% -0.0637 0.0899)
OKLCHoklch(54.85% 0.11 125.3)
XYZxyz(12.7184, 17.2013, 5.1322)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627C2D #472D7C
analogous
#7C6E2D #627C2D #3A7C2D
triadic
#627C2D #2D627C #7C2D62
tetradic
#627C2D #2D7C6E #472D7C #7C2D3A
square
#627C2D #2D7C6E #472D7C #7C2D3A
split-complementary
#627C2D #2D3A7C #6E2D7C
monochromatic
#1B220C #3F4F1D #627C2D #85A93D #A3C55F

Accessibility & contrast

On white

4.73
#627C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#627C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627C2D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627C2D#FFFFFF#000000##FFFFFF
##627C2D1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837424
Deuteranopia (green-blind)
#7F7333
Tritanopia (blue-blind)
#66766B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #627c2d;
/* rgb */ color: rgb(98, 124, 45);
/* oklch */ color: oklch(54.8% 0.110 125.3);
Tailwind
colors: {
  custom: {
    50: '#91a26a',
    500: '#627c2d',
    950: '#000000',
  },
}
SCSS
$custom: #627c2d;
$custom-light: #91a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#627c2d",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 79.747,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54849,
    "c": 0.11013,
    "h": 125.3
  },
  "luminance": 0.17201
}

Semantic roles & 50–950 ramp

primary
#627C2D
secondary
#745AAB
accent
#51D67D
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F06
muted
#7E7E7A

Preview Lab

Preview with #627C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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