#627D19#627D19

#627D19 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.9% C 0.126 H 124.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#627D19
RGBrgb(98, 125, 25)
HSLhsl(76, 67%, 29%)
HSVhsv(76, 80%, 49%)
CMYKcmyk(21.6%, 0%, 80%, 51%)
CIE-LABlab(48.68, -24.20, 47.30)
CIE-LCHlch(48.68, 53.13, 117.10°)
OKLaboklab(54.94% -0.0707 0.1042)
OKLCHoklch(54.94% 0.126 124.1)
XYZxyz(12.5462, 17.3340, 3.6043)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D19 #34197D
analogous
#7D6619 #627D19 #307D19
triadic
#627D19 #19627D #7D1962
tetradic
#627D19 #197D66 #34197D #7D1930
square
#627D19 #197D66 #34197D #7D1930
split-complementary
#627D19 #19307D #66197D
monochromatic
#141A05 #3A4A0F #627D19 #8AB023 #ADD739

Accessibility & contrast

On white

4.70
#627D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#627D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627D19
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627D19#FFFFFF#000000##FFFFFF
##627D191.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#817323
Tritanopia (blue-blind)
#67766A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627d19;
/* rgb */ color: rgb(98, 125, 25);
/* oklch */ color: oklch(54.9% 0.126 124.1);
Tailwind
colors: {
  custom: {
    50: '#92a25f',
    500: '#627d19',
    950: '#000000',
  },
}
SCSS
$custom: #627d19;
$custom-light: #92a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#627d19",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 76.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54936,
    "c": 0.1259,
    "h": 124.1
  },
  "luminance": 0.17334
}

Semantic roles & 50–950 ramp

primary
#627D19
secondary
#5F40B1
accent
#3EEA6C
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627D19

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

Preview Lab → · Contrast checker → · Palette generator →

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