#627918#627918

#627918 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.9% C 0.121 H 122.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#627918
RGBrgb(98, 121, 24)
HSLhsl(74, 67%, 28%)
HSVhsv(74, 80%, 47%)
CMYKcmyk(19%, 0%, 80.2%, 52.5%)
CIE-LABlab(47.41, -22.23, 46.46)
CIE-LCHlch(47.41, 51.50, 115.57°)
OKLaboklab(53.91% -0.0654 0.1022)
OKLCHoklch(53.91% 0.121 122.6)
XYZxyz(12.0394, 16.3373, 3.3831)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627918 #2F1879
analogous
#795F18 #627918 #317918
triadic
#627918 #186279 #791862
tetradic
#627918 #18795F #2F1879 #791831
square
#627918 #18795F #2F1879 #791831
split-complementary
#627918 #183179 #5F1879
monochromatic
#151A05 #39460E #627918 #8BAC22 #B0D735

Accessibility & contrast

On white

4.92
#627918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#627918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627918
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627918#FFFFFF#000000##FFFFFF
##6279181.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7E7022
Tritanopia (blue-blind)
#687267
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #627918;
/* rgb */ color: rgb(98, 121, 24);
/* oklch */ color: oklch(53.9% 0.121 122.6);
Tailwind
colors: {
  custom: {
    50: '#929f5e',
    500: '#627918',
    950: '#000000',
  },
}
SCSS
$custom: #627918;
$custom-light: #929f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#627918",
  "rgb": {
    "r": 98,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 74.227,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53911,
    "c": 0.12135,
    "h": 122.6
  },
  "luminance": 0.16337
}

Semantic roles & 50–950 ramp

primary
#627918
secondary
#593FAE
accent
#3EEA67
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #627918

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

Preview Lab → · Contrast checker → · Palette generator →

#627918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva