#627F2F#627F2F

#627F2F is a mid, moderate yellow-green. Relative luminance 0.180; OKLCH L 55.6% C 0.113 H 126.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#627F2F
RGBrgb(98, 127, 47)
HSLhsl(82, 46%, 34%)
HSVhsv(82, 63%, 50%)
CMYKcmyk(22.8%, 0%, 63%, 50.2%)
CIE-LABlab(49.47, -23.68, 39.10)
CIE-LCHlch(49.47, 45.71, 121.20°)
OKLaboklab(55.63% -0.0672 0.0904)
OKLCHoklch(55.63% 0.113 126.6)
XYZxyz(13.1395, 17.9805, 5.4671)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F2F #4C2F7F
analogous
#7F742F #627F2F #3A7F2F
triadic
#627F2F #2F627F #7F2F62
tetradic
#627F2F #2F7F74 #4C2F7F #7F2F3A
square
#627F2F #2F7F74 #4C2F7F #7F2F3A
split-complementary
#627F2F #2F3A7F #742F7F
monochromatic
#1D260E #40521E #627F2F #84AC40 #A2C563

Accessibility & contrast

On white

4.57
#627F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#627F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627F2F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F2F#FFFFFF#000000##000000
##627F2F1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#857726
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#66796E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #627f2f;
/* rgb */ color: rgb(98, 127, 47);
/* oklch */ color: oklch(55.6% 0.113 126.6);
Tailwind
colors: {
  custom: {
    50: '#91a46b',
    500: '#627f2f',
    950: '#000000',
  },
}
SCSS
$custom: #627f2f;
$custom-light: #91a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#627f2f",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 81.75,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55631,
    "c": 0.11261,
    "h": 126.6
  },
  "luminance": 0.17981
}

Semantic roles & 50–950 ramp

primary
#627F2F
secondary
#7A5EAC
accent
#52D682
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #627F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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