#627F17#627F17

#627F17 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.4% C 0.129 H 124.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#627F17
RGBrgb(98, 127, 23)
HSLhsl(77, 69%, 29%)
HSVhsv(77, 82%, 50%)
CMYKcmyk(22.8%, 0%, 81.9%, 50.2%)
CIE-LABlab(49.30, -25.29, 48.51)
CIE-LCHlch(49.30, 54.71, 117.54°)
OKLaboklab(55.43% -0.0738 0.1064)
OKLCHoklch(55.43% 0.129 124.7)
XYZxyz(12.7812, 17.8371, 3.5800)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F17 #34177F
analogous
#7F6817 #627F17 #2E7F17
triadic
#627F17 #17627F #7F1762
tetradic
#627F17 #177F68 #34177F #7F172E
square
#627F17 #177F68 #34177F #7F172E
split-complementary
#627F17 #172E7F #68177F
monochromatic
#141A05 #3A4B0E #627F17 #8AB320 #ADDB36

Accessibility & contrast

On white

4.60
#627F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#627F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627F17
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F17#FFFFFF#000000##FFFFFF
##627F171.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f17;
/* rgb */ color: rgb(98, 127, 23);
/* oklch */ color: oklch(55.4% 0.129 124.7);
Tailwind
colors: {
  custom: {
    50: '#92a45e',
    500: '#627f17',
    950: '#000000',
  },
}
SCSS
$custom: #627f17;
$custom-light: #92a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#627f17",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 76.731,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55434,
    "c": 0.12949,
    "h": 124.7
  },
  "luminance": 0.17837
}

Semantic roles & 50–950 ramp

primary
#627F17
secondary
#5F3EB4
accent
#3CEC6D
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627F17

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

Preview Lab → · Contrast checker → · Palette generator →

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