#627A2F#627A2F

#627A2F is a mid, moderate yellow-green. Relative luminance 0.167; OKLCH L 54.4% C 0.105 H 124.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#627A2F
RGBrgb(98, 122, 47)
HSLhsl(79, 44%, 33%)
HSVhsv(79, 61%, 48%)
CMYKcmyk(19.7%, 0%, 61.5%, 52.2%)
CIE-LABlab(47.91, -21.12, 37.36)
CIE-LCHlch(47.91, 42.91, 119.49°)
OKLaboklab(54.37% -0.0601 0.0867)
OKLCHoklch(54.37% 0.105 124.7)
XYZxyz(12.5097, 16.7209, 5.2572)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A2F #472F7A
analogous
#7A6C2F #627A2F #3C7A2F
triadic
#627A2F #2F627A #7A2F62
tetradic
#627A2F #2F7A6C #472F7A #7A2F3C
square
#627A2F #2F7A6C #472F7A #7A2F3C
split-complementary
#627A2F #2F3C7A #6C2F7A
monochromatic
#1B220D #3F4E1E #627A2F #85A640 #A3C261

Accessibility & contrast

On white

4.83
#627A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #627A2F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627A2F#FFFFFF#000000##FFFFFF
##627A2F1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #627a2f;
/* rgb */ color: rgb(98, 122, 47);
/* oklch */ color: oklch(54.4% 0.105 124.7);
Tailwind
colors: {
  custom: {
    50: '#91a06b',
    500: '#627a2f',
    950: '#000000',
  },
}
SCSS
$custom: #627a2f;
$custom-light: #91a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#627a2f",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 79.2,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54366,
    "c": 0.10547,
    "h": 124.7
  },
  "luminance": 0.16721
}

Semantic roles & 50–950 ramp

primary
#627A2F
secondary
#745CA9
accent
#54D47D
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E07
muted
#7E7E7A

Preview Lab

Preview with #627A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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