#627F19#627F19

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

Color values

HEX#627F19
RGBrgb(98, 127, 25)
HSLhsl(77, 67%, 30%)
HSVhsv(77, 80%, 50%)
CMYKcmyk(22.8%, 0%, 80.3%, 50.2%)
CIE-LABlab(49.31, -25.20, 47.88)
CIE-LCHlch(49.31, 54.11, 117.76°)
OKLaboklab(55.45% -0.0734 0.1054)
OKLCHoklch(55.45% 0.128 124.8)
XYZxyz(12.8020, 17.8455, 3.6896)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F19 #36197F
analogous
#7F6919 #627F19 #2F7F19
triadic
#627F19 #19627F #7F1962
tetradic
#627F19 #197F69 #36197F #7F192F
square
#627F19 #197F69 #36197F #7F192F
split-complementary
#627F19 #192F7F #69197F
monochromatic
#141A05 #3B4C0F #627F19 #89B223 #ABD83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627F19#FFFFFF#000000##FFFFFF
##627F191.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)
#867600
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f19;
/* rgb */ color: rgb(98, 127, 25);
/* oklch */ color: oklch(55.4% 0.128 124.8);
Tailwind
colors: {
  custom: {
    50: '#92a45f',
    500: '#627f19',
    950: '#000000',
  },
}
SCSS
$custom: #627f19;
$custom-light: #92a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#627f19",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 77.059,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55446,
    "c": 0.12845,
    "h": 124.8
  },
  "luminance": 0.17846
}

Semantic roles & 50–950 ramp

primary
#627F19
secondary
#6141B3
accent
#3EEA6F
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627F19

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

Preview Lab → · Contrast checker → · Palette generator →

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