#627917#627917

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

Color values

HEX#627917
RGBrgb(98, 121, 23)
HSLhsl(74, 68%, 28%)
HSVhsv(74, 81%, 47%)
CMYKcmyk(19%, 0%, 81%, 52.5%)
CIE-LABlab(47.41, -22.28, 46.78)
CIE-LCHlch(47.41, 51.82, 115.46°)
OKLaboklab(53.91% -0.0656 0.1028)
OKLCHoklch(53.91% 0.122 122.5)
XYZxyz(12.0292, 16.3332, 3.3293)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627917 #2E1779
analogous
#795F17 #627917 #317917
triadic
#627917 #176279 #791762
tetradic
#627917 #17795F #2E1779 #791731
square
#627917 #17795F #2E1779 #791731
split-complementary
#627917 #173179 #5F1779
monochromatic
#151A05 #38460D #627917 #8CAC21 #B1D832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627917#FFFFFF#000000##FFFFFF
##6279171.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)
#7E7021
Tritanopia (blue-blind)
#687267
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #627917;
/* rgb */ color: rgb(98, 121, 23);
/* oklch */ color: oklch(53.9% 0.122 122.5);
Tailwind
colors: {
  custom: {
    50: '#929f5d',
    500: '#627917',
    950: '#000000',
  },
}
SCSS
$custom: #627917;
$custom-light: #929f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#627917",
  "rgb": {
    "r": 98,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 74.082,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53905,
    "c": 0.12189,
    "h": 122.5
  },
  "luminance": 0.16333
}

Semantic roles & 50–950 ramp

primary
#627917
secondary
#583EAE
accent
#3DEB66
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #627917

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

Preview Lab → · Contrast checker → · Palette generator →

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