#627D2C#627D2C

#627D2C is a mid, moderate yellow-green. Relative luminance 0.174; OKLCH L 55.1% C 0.112 H 125.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#627D2C
RGBrgb(98, 125, 44)
HSLhsl(80, 48%, 33%)
HSVhsv(80, 65%, 49%)
CMYKcmyk(21.6%, 0%, 64.8%, 51%)
CIE-LABlab(48.82, -22.93, 39.78)
CIE-LCHlch(48.82, 45.91, 119.95°)
OKLaboklab(55.09% -0.0654 0.0914)
OKLCHoklch(55.09% 0.112 125.6)
XYZxyz(12.8253, 17.4456, 5.0740)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D2C #472C7D
analogous
#7D6F2C #627D2C #397D2C
triadic
#627D2C #2C627D #7D2C62
tetradic
#627D2C #2C7D6F #472C7D #7D2C39
square
#627D2C #2C7D6F #472C7D #7D2C39
split-complementary
#627D2C #2C397D #6F2C7D
monochromatic
#1B220C #3F501C #627D2C #85AA3C #A3C65D

Accessibility & contrast

On white

4.68
#627D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#627D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627D2C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627D2C#FFFFFF#000000##FFFFFF
##627D2C1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847522
Deuteranopia (green-blind)
#807432
Tritanopia (blue-blind)
#66776C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627d2c;
/* rgb */ color: rgb(98, 125, 44);
/* oklch */ color: oklch(55.1% 0.112 125.6);
Tailwind
colors: {
  custom: {
    50: '#91a269',
    500: '#627d2c',
    950: '#000000',
  },
}
SCSS
$custom: #627d2c;
$custom-light: #91a269;
$custom-dark: #000000;
JSON
{
  "hex": "#627d2c",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 80,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55092,
    "c": 0.11242,
    "h": 125.6
  },
  "luminance": 0.17446
}

Semantic roles & 50–950 ramp

primary
#627D2C
secondary
#7459AC
accent
#50D87D
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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