#627218#627218

#627218 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.1% C 0.113 H 119.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#627218
RGBrgb(98, 114, 24)
HSLhsl(71, 65%, 27%)
HSVhsv(71, 79%, 45%)
CMYKcmyk(14%, 0%, 78.9%, 55.3%)
CIE-LABlab(45.22, -18.59, 44.41)
CIE-LCHlch(45.22, 48.15, 112.72°)
OKLaboklab(52.14% -0.0554 0.0979)
OKLCHoklch(52.14% 0.113 119.5)
XYZxyz(11.2194, 14.6973, 3.1098)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627218 #281872
analogous
#725518 #627218 #357218
triadic
#627218 #186272 #721862
tetradic
#627218 #187255 #281872 #721835
square
#627218 #187255 #281872 #721835
split-complementary
#627218 #183572 #551872
monochromatic
#161905 #373F0D #627218 #8DA523 #B7D431

Accessibility & contrast

On white

5.33
#627218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#627218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627218
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627218#FFFFFF#000000##FFFFFF
##6272181.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#686B61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #627218;
/* rgb */ color: rgb(98, 114, 24);
/* oklch */ color: oklch(52.1% 0.113 119.5);
Tailwind
colors: {
  custom: {
    50: '#929a5d',
    500: '#627218',
    950: '#000000',
  },
}
SCSS
$custom: #627218;
$custom-light: #929a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#627218",
  "rgb": {
    "r": 98,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 70.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52138,
    "c": 0.1125,
    "h": 119.5
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#627218
secondary
#513EA7
accent
#40E85E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627218

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

Preview Lab → · Contrast checker → · Palette generator →

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