#627816#627816

#627816 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.6% C 0.121 H 122.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#627816
RGBrgb(98, 120, 22)
HSLhsl(73, 69%, 28%)
HSVhsv(73, 82%, 47%)
CMYKcmyk(18.3%, 0%, 81.7%, 52.9%)
CIE-LABlab(47.09, -21.81, 46.82)
CIE-LCHlch(47.09, 51.65, 114.98°)
OKLaboklab(53.65% -0.0644 0.1026)
OKLCHoklch(53.65% 0.121 122.1)
XYZxyz(11.8985, 16.0875, 3.2373)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627816 #2C1678
analogous
#785D16 #627816 #317816
triadic
#627816 #166278 #781662
tetradic
#627816 #16785D #2C1678 #781631
square
#627816 #16785D #2C1678 #781631
split-complementary
#627816 #163178 #5D1678
monochromatic
#151A05 #38440D #627816 #8CAC1F #B3D92F

Accessibility & contrast

On white

4.98
#627816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#627816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627816
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627816#FFFFFF#000000##FFFFFF
##6278161.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#687166
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #627816;
/* rgb */ color: rgb(98, 120, 22);
/* oklch */ color: oklch(53.6% 0.121 122.1);
Tailwind
colors: {
  custom: {
    50: '#929f5d',
    500: '#627816',
    950: '#000000',
  },
}
SCSS
$custom: #627816;
$custom-light: #929f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#627816",
  "rgb": {
    "r": 98,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 73.469,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53646,
    "c": 0.12115,
    "h": 122.1
  },
  "luminance": 0.16088
}

Semantic roles & 50–950 ramp

primary
#627816
secondary
#563CAD
accent
#3CEC63
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #627816

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

Preview Lab → · Contrast checker → · Palette generator →

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