#627117#627117

#627117 is a mid, moderate yellow-green. Relative luminance 0.145; OKLCH L 51.9% C 0.112 H 119.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#627117
RGBrgb(98, 113, 23)
HSLhsl(70, 66%, 27%)
HSVhsv(70, 80%, 44%)
CMYKcmyk(13.3%, 0%, 79.6%, 55.7%)
CIE-LABlab(44.90, -18.12, 44.47)
CIE-LCHlch(44.90, 48.01, 112.17°)
OKLaboklab(51.88% -0.0541 0.0978)
OKLCHoklch(51.88% 0.112 119)
XYZxyz(11.0970, 14.4689, 3.0186)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627117 #261771
analogous
#715317 #627117 #357117
triadic
#627117 #176271 #711762
tetradic
#627117 #177153 #261771 #711735
square
#627117 #177153 #261771 #711735
split-complementary
#627117 #173571 #531771
monochromatic
#161905 #363E0D #627117 #8EA421 #B9D42E

Accessibility & contrast

On white

5.39
#627117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#627117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627117
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627117#FFFFFF#000000##FFFFFF
##6271171.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A02
Deuteranopia (green-blind)
#776B1F
Tritanopia (blue-blind)
#686A60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #627117;
/* rgb */ color: rgb(98, 113, 23);
/* oklch */ color: oklch(51.9% 0.112 119.0);
Tailwind
colors: {
  custom: {
    50: '#92995c',
    500: '#627117',
    950: '#000000',
  },
}
SCSS
$custom: #627117;
$custom-light: #92995c;
$custom-dark: #000000;
JSON
{
  "hex": "#627117",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 70,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.5188,
    "c": 0.11183,
    "h": 119
  },
  "luminance": 0.14469
}

Semantic roles & 50–950 ramp

primary
#627117
secondary
#4F3DA7
accent
#3FE95B
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627117

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

Preview Lab → · Contrast checker → · Palette generator →

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