#627717#627717

#627717 is a mid, moderate yellow-green. Relative luminance 0.159; OKLCH L 53.4% C 0.119 H 121.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#627717
RGBrgb(98, 119, 23)
HSLhsl(73, 68%, 28%)
HSVhsv(73, 81%, 47%)
CMYKcmyk(17.6%, 0%, 80.7%, 53.3%)
CIE-LABlab(46.78, -21.25, 46.21)
CIE-LCHlch(46.78, 50.86, 114.70°)
OKLaboklab(53.4% -0.0628 0.1015)
OKLCHoklch(53.4% 0.119 121.7)
XYZxyz(11.7887, 15.8522, 3.2492)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627717 #2C1777
analogous
#775C17 #627717 #327717
triadic
#627717 #176277 #771762
tetradic
#627717 #17775C #2C1777 #771732
square
#627717 #17775C #2C1777 #771732
split-complementary
#627717 #173277 #5C1777
monochromatic
#151A05 #38440D #627717 #8CAA21 #B3D731

Accessibility & contrast

On white

5.04
#627717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#627717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627717
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627717#FFFFFF#000000##FFFFFF
##6277171.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#687065
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #627717;
/* rgb */ color: rgb(98, 119, 23);
/* oklch */ color: oklch(53.4% 0.119 121.7);
Tailwind
colors: {
  custom: {
    50: '#929e5d',
    500: '#627717',
    950: '#000000',
  },
}
SCSS
$custom: #627717;
$custom-light: #929e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#627717",
  "rgb": {
    "r": 98,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 73.125,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53397,
    "c": 0.11936,
    "h": 121.7
  },
  "luminance": 0.15852
}

Semantic roles & 50–950 ramp

primary
#627717
secondary
#563EAC
accent
#3DEA63
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #627717

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

Preview Lab → · Contrast checker → · Palette generator →

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