#627A2C#627A2C

#627A2C is a mid, moderate yellow-green. Relative luminance 0.167; OKLCH L 54.3% C 0.108 H 124.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#627A2C
RGBrgb(98, 122, 44)
HSLhsl(78, 47%, 33%)
HSVhsv(78, 64%, 48%)
CMYKcmyk(19.7%, 0%, 63.9%, 52.2%)
CIE-LABlab(47.88, -21.39, 38.76)
CIE-LCHlch(47.88, 44.27, 118.90°)
OKLaboklab(54.33% -0.0612 0.0893)
OKLCHoklch(54.33% 0.108 124.4)
XYZxyz(12.4512, 16.6975, 4.9493)
Luminance0.1670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A2C #442C7A
analogous
#7A6B2C #627A2C #3B7A2C
triadic
#627A2C #2C627A #7A2C62
tetradic
#627A2C #2C7A6B #442C7A #7A2C3B
square
#627A2C #2C7A6B #442C7A #7A2C3B
split-complementary
#627A2C #2C3B7A #6B2C7A
monochromatic
#1A200C #3E4D1C #627A2C #86A73C #A4C45C

Accessibility & contrast

On white

4.84
#627A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#627A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627A2C
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627A2C#FFFFFF#000000##FFFFFF
##627A2C1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817223
Deuteranopia (green-blind)
#7D7132
Tritanopia (blue-blind)
#66746A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627a2c;
/* rgb */ color: rgb(98, 122, 44);
/* oklch */ color: oklch(54.3% 0.108 124.4);
Tailwind
colors: {
  custom: {
    50: '#91a069',
    500: '#627a2c',
    950: '#000000',
  },
}
SCSS
$custom: #627a2c;
$custom-light: #91a069;
$custom-dark: #000000;
JSON
{
  "hex": "#627a2c",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 78.462,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54333,
    "c": 0.10819,
    "h": 124.4
  },
  "luminance": 0.16698
}

Semantic roles & 50–950 ramp

primary
#627A2C
secondary
#7157AA
accent
#51D77A
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #627A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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