#627F3D#627F3D

#627F3D is a mid, moderate yellow-green. Relative luminance 0.181; OKLCH L 55.8% C 0.099 H 128.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#627F3D
RGBrgb(98, 127, 61)
HSLhsl(86, 35%, 37%)
HSVhsv(86, 52%, 50%)
CMYKcmyk(22.8%, 0%, 52%, 50.2%)
CIE-LABlab(49.63, -22.22, 32.28)
CIE-LCHlch(49.63, 39.19, 124.54°)
OKLaboklab(55.81% -0.0619 0.0771)
OKLCHoklch(55.81% 0.099 128.8)
XYZxyz(13.4686, 18.1121, 7.2004)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F3D #5A3D7F
analogous
#7F7B3D #627F3D #417F3D
triadic
#627F3D #3D627F #7F3D62
tetradic
#627F3D #3D7F7B #5A3D7F #7F3D41
square
#627F3D #3D7F7B #5A3D7F #7F3D41
split-complementary
#627F3D #3D417F #7B3D7F
monochromatic
#222C15 #425629 #627F3D #82A851 #9FBE78

Accessibility & contrast

On white

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

On black

4.62
#627F3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627F3D
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F3D#FFFFFF#000000##000000
##627F3D1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#847737
Deuteranopia (green-blind)
#807541
Tritanopia (blue-blind)
#647A70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #627f3d;
/* rgb */ color: rgb(98, 127, 61);
/* oklch */ color: oklch(55.8% 0.099 128.8);
Tailwind
colors: {
  custom: {
    50: '#90a474',
    500: '#627f3d',
    950: '#000000',
  },
}
SCSS
$custom: #627f3d;
$custom-light: #90a474;
$custom-dark: #000000;
JSON
{
  "hex": "#627f3d",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 61
  },
  "hsl": {
    "h": 86.364,
    "s": 35.106,
    "l": 36.863
  },
  "oklch": {
    "l": 0.55812,
    "c": 0.09884,
    "h": 128.8
  },
  "luminance": 0.18112
}

Semantic roles & 50–950 ramp

primary
#627F3D
secondary
#8870A8
accent
#5DCB8D
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D0F08
muted
#7E7F7B

Preview Lab

Preview with #627F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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