#627F40#627F40

#627F40 is a mid, moderate yellow-green. Relative luminance 0.181; OKLCH L 55.9% C 0.096 H 129.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#627F40
RGBrgb(98, 127, 64)
HSLhsl(88, 33%, 37%)
HSVhsv(88, 50%, 50%)
CMYKcmyk(22.8%, 0%, 49.6%, 50.2%)
CIE-LABlab(49.67, -21.86, 30.74)
CIE-LCHlch(49.67, 37.72, 125.41°)
OKLaboklab(55.86% -0.0606 0.0739)
OKLCHoklch(55.86% 0.096 129.4)
XYZxyz(13.5516, 18.1453, 7.6379)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F40 #5D407F
analogous
#7F7C40 #627F40 #437F40
triadic
#627F40 #40627F #7F4062
tetradic
#627F40 #407F7C #5D407F #7F4043
square
#627F40 #407F7C #5D407F #7F4043
split-complementary
#627F40 #40437F #7C407F
monochromatic
#232E17 #43562B #627F40 #81A855 #9FBD7C

Accessibility & contrast

On white

4.54
#627F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#627F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627F40
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F40#FFFFFF#000000##000000
##627F401.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84773B
Deuteranopia (green-blind)
#807544
Tritanopia (blue-blind)
#647A70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #627f40;
/* rgb */ color: rgb(98, 127, 64);
/* oklch */ color: oklch(55.9% 0.096 129.4);
Tailwind
colors: {
  custom: {
    50: '#90a476',
    500: '#627f40',
    950: '#000000',
  },
}
SCSS
$custom: #627f40;
$custom-light: #90a476;
$custom-dark: #000000;
JSON
{
  "hex": "#627f40",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 87.619,
    "s": 32.984,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55857,
    "c": 0.09559,
    "h": 129.4
  },
  "luminance": 0.18146
}

Semantic roles & 50–950 ramp

primary
#627F40
secondary
#8B73A8
accent
#5FC990
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0D0F08
muted
#7D7F7B

Preview Lab

Preview with #627F40

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

Preview Lab → · Contrast checker → · Palette generator →

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