#627213#627213

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

Color values

HEX#627213
RGBrgb(98, 114, 19)
HSLhsl(70, 71%, 26%)
HSVhsv(70, 83%, 45%)
CMYKcmyk(14%, 0%, 83.3%, 55.3%)
CIE-LABlab(45.19, -18.83, 46.04)
CIE-LCHlch(45.19, 49.74, 112.24°)
OKLaboklab(52.11% -0.0564 0.1005)
OKLCHoklch(52.11% 0.115 119.3)
XYZxyz(11.1721, 14.6784, 2.8606)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627213 #231372
analogous
#725213 #627213 #327213
triadic
#627213 #136272 #721362
tetradic
#627213 #137252 #231372 #721332
square
#627213 #137252 #231372 #721332
split-complementary
#627213 #133272 #521372
monochromatic
#171A04 #353E0A #627213 #8FA61C #BCDB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627213#FFFFFF#000000##FFFFFF
##6272131.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #627213;
/* rgb */ color: rgb(98, 114, 19);
/* oklch */ color: oklch(52.1% 0.115 119.3);
Tailwind
colors: {
  custom: {
    50: '#929a5b',
    500: '#627213',
    950: '#000000',
  },
}
SCSS
$custom: #627213;
$custom-light: #929a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#627213",
  "rgb": {
    "r": 98,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 70.105,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52109,
    "c": 0.11522,
    "h": 119.3
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#627213
secondary
#4B38A9
accent
#3AEE58
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627213

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

Preview Lab → · Contrast checker → · Palette generator →

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