#627F2C#627F2C

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

Color values

HEX#627F2C
RGBrgb(98, 127, 44)
HSLhsl(81, 49%, 34%)
HSVhsv(81, 65%, 50%)
CMYKcmyk(22.8%, 0%, 65.4%, 50.2%)
CIE-LABlab(49.44, -23.94, 40.46)
CIE-LCHlch(49.44, 47.01, 120.61°)
OKLaboklab(55.6% -0.0682 0.0929)
OKLCHoklch(55.6% 0.115 126.3)
XYZxyz(13.0810, 17.9571, 5.1593)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F2C #492C7F
analogous
#7F722C #627F2C #387F2C
triadic
#627F2C #2C627F #7F2C62
tetradic
#627F2C #2C7F72 #492C7F #7F2C38
square
#627F2C #2C7F72 #492C7F #7F2C38
split-complementary
#627F2C #2C387F #722C7F
monochromatic
#1C240D #3F521C #627F2C #85AC3C #A3C75E

Accessibility & contrast

On white

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

On black

4.59
#627F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627F2C
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F2C#FFFFFF#000000##000000
##627F2C1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #627f2c;
/* rgb */ color: rgb(98, 127, 44);
/* oklch */ color: oklch(55.6% 0.115 126.3);
Tailwind
colors: {
  custom: {
    50: '#91a469',
    500: '#627f2c',
    950: '#000000',
  },
}
SCSS
$custom: #627f2c;
$custom-light: #91a469;
$custom-dark: #000000;
JSON
{
  "hex": "#627f2c",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 80.964,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.11522,
    "h": 126.3
  },
  "luminance": 0.17957
}

Semantic roles & 50–950 ramp

primary
#627F2C
secondary
#7759AD
accent
#50D87F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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