#627A19#627A19

#627A19 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.2% C 0.122 H 123.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#627A19
RGBrgb(98, 122, 25)
HSLhsl(75, 66%, 29%)
HSVhsv(75, 80%, 48%)
CMYKcmyk(19.7%, 0%, 79.5%, 52.2%)
CIE-LABlab(47.73, -22.69, 46.42)
CIE-LCHlch(47.73, 51.67, 116.05°)
OKLaboklab(54.17% -0.0665 0.1023)
OKLCHoklch(54.17% 0.122 123)
XYZxyz(12.1722, 16.5859, 3.4796)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A19 #31197A
analogous
#7A6219 #627A19 #327A19
triadic
#627A19 #19627A #7A1962
tetradic
#627A19 #197A62 #31197A #7A1932
square
#627A19 #197A62 #31197A #7A1932
split-complementary
#627A19 #19327A #62197A
monochromatic
#141905 #39470F #627A19 #8BAD23 #AFD637

Accessibility & contrast

On white

4.86
#627A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#627A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627A19
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627A19#FFFFFF#000000##FFFFFF
##627A191.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827201
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#677368
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #627a19;
/* rgb */ color: rgb(98, 122, 25);
/* oklch */ color: oklch(54.2% 0.122 123.0);
Tailwind
colors: {
  custom: {
    50: '#92a05e',
    500: '#627a19',
    950: '#000000',
  },
}
SCSS
$custom: #627a19;
$custom-light: #92a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#627a19",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 74.845,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54172,
    "c": 0.12206,
    "h": 123
  },
  "luminance": 0.16586
}

Semantic roles & 50–950 ramp

primary
#627A19
secondary
#5C40AF
accent
#3FE969
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #627A19

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

Preview Lab → · Contrast checker → · Palette generator →

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