#627C17#627C17

#627C17 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.7% C 0.126 H 123.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#627C17
RGBrgb(98, 124, 23)
HSLhsl(75, 69%, 29%)
HSVhsv(75, 81%, 49%)
CMYKcmyk(21%, 0%, 81.5%, 51.4%)
CIE-LABlab(48.35, -23.80, 47.65)
CIE-LCHlch(48.35, 53.26, 116.54°)
OKLaboklab(54.67% -0.0697 0.1046)
OKLCHoklch(54.67% 0.126 123.7)
XYZxyz(12.3995, 17.0737, 3.4528)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627C17 #31177C
analogous
#7C6417 #627C17 #307C17
triadic
#627C17 #17627C #7C1762
tetradic
#627C17 #177C64 #31177C #7C1730
square
#627C17 #177C64 #31177C #7C1730
split-complementary
#627C17 #17307C #64177C
monochromatic
#141A05 #39480D #627C17 #8BB021 #AFD934

Accessibility & contrast

On white

4.76
#627C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#627C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627C17
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627C17#FFFFFF#000000##FFFFFF
##627C171.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#807321
Tritanopia (blue-blind)
#677569
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #627c17;
/* rgb */ color: rgb(98, 124, 23);
/* oklch */ color: oklch(54.7% 0.126 123.7);
Tailwind
colors: {
  custom: {
    50: '#92a25e',
    500: '#627c17',
    950: '#000000',
  },
}
SCSS
$custom: #627c17;
$custom-light: #92a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#627c17",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 75.446,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54669,
    "c": 0.12569,
    "h": 123.7
  },
  "luminance": 0.17074
}

Semantic roles & 50–950 ramp

primary
#627C17
secondary
#5C3EB1
accent
#3CEC69
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #627C17

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

Preview Lab → · Contrast checker → · Palette generator →

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