#627E19#627E19

#627E19 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.2% C 0.127 H 124.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#627E19
RGBrgb(98, 126, 25)
HSLhsl(77, 67%, 30%)
HSVhsv(77, 80%, 49%)
CMYKcmyk(22.2%, 0%, 80.2%, 50.6%)
CIE-LABlab(48.99, -24.70, 47.59)
CIE-LCHlch(48.99, 53.62, 117.43°)
OKLaboklab(55.19% -0.072 0.1048)
OKLCHoklch(55.19% 0.127 124.5)
XYZxyz(12.6735, 17.5884, 3.6467)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E19 #35197E
analogous
#7E6819 #627E19 #2F7E19
triadic
#627E19 #19627E #7E1962
tetradic
#627E19 #197E68 #35197E #7E192F
square
#627E19 #197E68 #35197E #7E192F
split-complementary
#627E19 #192F7E #68197E
monochromatic
#141A05 #3A4B0F #627E19 #8AB123 #ACD83A

Accessibility & contrast

On white

4.65
#627E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#627E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E19
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E19#FFFFFF#000000##FFFFFF
##627E191.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#827423
Tritanopia (blue-blind)
#67776B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627e19;
/* rgb */ color: rgb(98, 126, 25);
/* oklch */ color: oklch(55.2% 0.127 124.5);
Tailwind
colors: {
  custom: {
    50: '#92a35f',
    500: '#627e19',
    950: '#000000',
  },
}
SCSS
$custom: #627e19;
$custom-light: #92a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#627e19",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 76.634,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55191,
    "c": 0.12717,
    "h": 124.5
  },
  "luminance": 0.17589
}

Semantic roles & 50–950 ramp

primary
#627E19
secondary
#6041B2
accent
#3EEA6E
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627E19

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

Preview Lab → · Contrast checker → · Palette generator →

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