#627F1A#627F1A

#627F1A is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.5% C 0.128 H 124.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#627F1A
RGBrgb(98, 127, 26)
HSLhsl(77, 66%, 30%)
HSVhsv(77, 80%, 50%)
CMYKcmyk(22.8%, 0%, 79.5%, 50.2%)
CIE-LABlab(49.31, -25.15, 47.55)
CIE-LCHlch(49.31, 53.79, 117.87°)
OKLaboklab(55.45% -0.0732 0.1049)
OKLCHoklch(55.45% 0.128 124.9)
XYZxyz(12.8129, 17.8498, 3.7474)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F1A #371A7F
analogous
#7F6A1A #627F1A #2F7F1A
triadic
#627F1A #1A627F #7F1A62
tetradic
#627F1A #1A7F6A #371A7F #7F1A2F
square
#627F1A #1A7F6A #371A7F #7F1A2F
split-complementary
#627F1A #1A2F7F #6A1A7F
monochromatic
#141905 #3B4C10 #627F1A #89B224 #ABD73C

Accessibility & contrast

On white

4.60
#627F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#627F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627F1A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F1A#FFFFFF#000000##FFFFFF
##627F1A1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867601
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f1a;
/* rgb */ color: rgb(98, 127, 26);
/* oklch */ color: oklch(55.5% 0.128 124.9);
Tailwind
colors: {
  custom: {
    50: '#92a460',
    500: '#627f1a',
    950: '#000000',
  },
}
SCSS
$custom: #627f1a;
$custom-light: #92a460;
$custom-dark: #000000;
JSON
{
  "hex": "#627f1a",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 77.228,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.55452,
    "c": 0.1279,
    "h": 124.9
  },
  "luminance": 0.1785
}

Semantic roles & 50–950 ramp

primary
#627F1A
secondary
#6242B3
accent
#3FE970
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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