#627B20#627B20

#627B20 is a mid, moderate yellow-green. Relative luminance 0.169; OKLCH L 54.5% C 0.119 H 123.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#627B20
RGBrgb(98, 123, 32)
HSLhsl(76, 59%, 30%)
HSVhsv(76, 74%, 48%)
CMYKcmyk(20.3%, 0%, 74%, 51.8%)
CIE-LABlab(48.09, -22.80, 44.19)
CIE-LCHlch(48.09, 49.72, 117.29°)
OKLaboklab(54.47% -0.0662 0.0989)
OKLCHoklch(54.47% 0.119 123.8)
XYZxyz(12.3808, 16.8668, 3.9696)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627B20 #39207B
analogous
#7B6720 #627B20 #347B20
triadic
#627B20 #20627B #7B2062
tetradic
#627B20 #207B67 #39207B #7B2034
square
#627B20 #207B67 #39207B #7B2034
split-complementary
#627B20 #20347B #67207B
monochromatic
#151A07 #3B4A13 #627B20 #89AC2D #A9CF46

Accessibility & contrast

On white

4.80
#627B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#627B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627B20
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627B20#FFFFFF#000000##FFFFFF
##627B201.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827310
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#677569
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627b20;
/* rgb */ color: rgb(98, 123, 32);
/* oklch */ color: oklch(54.5% 0.119 123.8);
Tailwind
colors: {
  custom: {
    50: '#91a162',
    500: '#627b20',
    950: '#000000',
  },
}
SCSS
$custom: #627b20;
$custom-light: #91a162;
$custom-dark: #000000;
JSON
{
  "hex": "#627b20",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 76.484,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54475,
    "c": 0.11899,
    "h": 123.8
  },
  "luminance": 0.16867
}

Semantic roles & 50–950 ramp

primary
#627B20
secondary
#6549AE
accent
#46E271
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F05
muted
#7E7E7A

Preview Lab

Preview with #627B20

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

Preview Lab → · Contrast checker → · Palette generator →

#627B20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva