#627212#627212

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

Color values

HEX#627212
RGBrgb(98, 114, 18)
HSLhsl(70, 73%, 26%)
HSVhsv(70, 84%, 45%)
CMYKcmyk(14%, 0%, 84.2%, 55.3%)
CIE-LABlab(45.19, -18.87, 46.34)
CIE-LCHlch(45.19, 50.04, 112.15°)
OKLaboklab(52.1% -0.0566 0.1009)
OKLCHoklch(52.1% 0.116 119.3)
XYZxyz(11.1637, 14.6750, 2.8166)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627212 #221272
analogous
#725212 #627212 #327212
triadic
#627212 #126272 #721262
tetradic
#627212 #127252 #221272 #721232
square
#627212 #127252 #221272 #721232
split-complementary
#627212 #123272 #521272
monochromatic
#171A04 #353D0A #627212 #8FA71A #BDDC23

Accessibility & contrast

On white

5.34
#627212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#627212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627212
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627212#FFFFFF#000000##FFFFFF
##6272121.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #627212;
/* rgb */ color: rgb(98, 114, 18);
/* oklch */ color: oklch(52.1% 0.116 119.3);
Tailwind
colors: {
  custom: {
    50: '#929a5a',
    500: '#627212',
    950: '#000000',
  },
}
SCSS
$custom: #627212;
$custom-light: #929a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#627212",
  "rgb": {
    "r": 98,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 70,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.11571,
    "h": 119.3
  },
  "luminance": 0.14675
}

Semantic roles & 50–950 ramp

primary
#627212
secondary
#4A37A9
accent
#38EF57
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627212

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

Preview Lab → · Contrast checker → · Palette generator →

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