#627418#627418

#627418 is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.115 H 120.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#627418
RGBrgb(98, 116, 24)
HSLhsl(72, 66%, 27%)
HSVhsv(72, 79%, 45%)
CMYKcmyk(15.5%, 0%, 79.3%, 54.5%)
CIE-LABlab(45.84, -19.64, 45.00)
CIE-LCHlch(45.84, 49.10, 113.58°)
OKLaboklab(52.64% -0.0583 0.0992)
OKLCHoklch(52.64% 0.115 120.4)
XYZxyz(11.4475, 15.1534, 3.1858)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627418 #2A1874
analogous
#745818 #627418 #347418
triadic
#627418 #186274 #741862
tetradic
#627418 #187458 #2A1874 #741834
square
#627418 #187458 #2A1874 #741834
split-complementary
#627418 #183474 #581874
monochromatic
#151905 #37410E #627418 #8DA722 #B5D532

Accessibility & contrast

On white

5.21
#627418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#627418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627418
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627418#FFFFFF#000000##FFFFFF
##6274181.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#686D63
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #627418;
/* rgb */ color: rgb(98, 116, 24);
/* oklch */ color: oklch(52.6% 0.115 120.4);
Tailwind
colors: {
  custom: {
    50: '#929c5d',
    500: '#627418',
    950: '#000000',
  },
}
SCSS
$custom: #627418;
$custom-light: #929c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#627418",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 71.739,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52644,
    "c": 0.115,
    "h": 120.4
  },
  "luminance": 0.15153
}

Semantic roles & 50–950 ramp

primary
#627418
secondary
#533FA9
accent
#3FE960
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #627418

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

Preview Lab → · Contrast checker → · Palette generator →

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