#627A20#627A20

#627A20 is a mid, moderate yellow-green. Relative luminance 0.166; OKLCH L 54.2% C 0.118 H 123.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#627A20
RGBrgb(98, 122, 32)
HSLhsl(76, 58%, 30%)
HSVhsv(76, 74%, 48%)
CMYKcmyk(19.7%, 0%, 73.8%, 52.2%)
CIE-LABlab(47.78, -22.29, 43.87)
CIE-LCHlch(47.78, 49.21, 116.93°)
OKLaboklab(54.22% -0.0648 0.0982)
OKLCHoklch(54.22% 0.118 123.4)
XYZxyz(12.2574, 16.6199, 3.9284)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A20 #38207A
analogous
#7A6520 #627A20 #357A20
triadic
#627A20 #20627A #7A2062
tetradic
#627A20 #207A65 #38207A #7A2035
square
#627A20 #207A65 #38207A #7A2035
split-complementary
#627A20 #20357A #65207A
monochromatic
#141907 #3B4A13 #627A20 #89AA2D #AACE46

Accessibility & contrast

On white

4.86
#627A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#627A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627A20
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627A20#FFFFFF#000000##FFFFFF
##627A201.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817210
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#677468
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #627a20;
/* rgb */ color: rgb(98, 122, 32);
/* oklch */ color: oklch(54.2% 0.118 123.4);
Tailwind
colors: {
  custom: {
    50: '#91a062',
    500: '#627a20',
    950: '#000000',
  },
}
SCSS
$custom: #627a20;
$custom-light: #91a062;
$custom-dark: #000000;
JSON
{
  "hex": "#627a20",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 76,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.11767,
    "h": 123.4
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

primary
#627A20
secondary
#6349AD
accent
#46E270
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E05
muted
#7E7E7A

Preview Lab

Preview with #627A20

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

Preview Lab → · Contrast checker → · Palette generator →

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