#627F2A#627F2A

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

Color values

HEX#627F2A
RGBrgb(98, 127, 42)
HSLhsl(80, 50%, 33%)
HSVhsv(80, 67%, 50%)
CMYKcmyk(22.8%, 0%, 66.9%, 50.2%)
CIE-LABlab(49.43, -24.10, 41.35)
CIE-LCHlch(49.43, 47.86, 120.24°)
OKLaboklab(55.58% -0.0688 0.0945)
OKLCHoklch(55.58% 0.117 126.1)
XYZxyz(13.0443, 17.9424, 4.9660)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F2A #472A7F
analogous
#7F712A #627F2A #377F2A
triadic
#627F2A #2A627F #7F2A62
tetradic
#627F2A #2A7F71 #472A7F #7F2A37
square
#627F2A #2A7F71 #472A7F #7F2A37
split-complementary
#627F2A #2A377F #712A7F
monochromatic
#1B230C #3F511B #627F2A #85AD39 #A3C95B

Accessibility & contrast

On white

4.58
#627F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##627F2A#FFFFFF#000000##000000
##627F2A1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771F
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#66796D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f2a;
/* rgb */ color: rgb(98, 127, 42);
/* oklch */ color: oklch(55.6% 0.117 126.1);
Tailwind
colors: {
  custom: {
    50: '#91a468',
    500: '#627f2a',
    950: '#000000',
  },
}
SCSS
$custom: #627f2a;
$custom-light: #91a468;
$custom-dark: #000000;
JSON
{
  "hex": "#627f2a",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 80.471,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55579,
    "c": 0.11689,
    "h": 126.1
  },
  "luminance": 0.17943
}

Semantic roles & 50–950 ramp

primary
#627F2A
secondary
#7457AE
accent
#4EDA7E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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