#627C20#627C20

#627C20 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.7% C 0.120 H 124.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#627C20
RGBrgb(98, 124, 32)
HSLhsl(77, 59%, 31%)
HSVhsv(77, 74%, 49%)
CMYKcmyk(21%, 0%, 74.2%, 51.4%)
CIE-LABlab(48.41, -23.31, 44.50)
CIE-LCHlch(48.41, 50.23, 117.64°)
OKLaboklab(54.73% -0.0676 0.0995)
OKLCHoklch(54.73% 0.12 124.2)
XYZxyz(12.5055, 17.1161, 4.0111)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627C20 #3A207C
analogous
#7C6820 #627C20 #347C20
triadic
#627C20 #20627C #7C2062
tetradic
#627C20 #207C68 #3A207C #7C2034
square
#627C20 #207C68 #3A207C #7C2034
split-complementary
#627C20 #20347C #68207C
monochromatic
#151B07 #3C4B13 #627C20 #88AD2D #A9CF47

Accessibility & contrast

On white

4.75
#627C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#627C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627C20
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627C20#FFFFFF#000000##FFFFFF
##627C201.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837410
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#67766A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #627c20;
/* rgb */ color: rgb(98, 124, 32);
/* oklch */ color: oklch(54.7% 0.120 124.2);
Tailwind
colors: {
  custom: {
    50: '#92a262',
    500: '#627c20',
    950: '#000000',
  },
}
SCSS
$custom: #627c20;
$custom-light: #92a262;
$custom-dark: #000000;
JSON
{
  "hex": "#627c20",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 76.957,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54729,
    "c": 0.12031,
    "h": 124.2
  },
  "luminance": 0.17116
}

Semantic roles & 50–950 ramp

primary
#627C20
secondary
#6649AF
accent
#46E272
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F05
muted
#7E7E7A

Preview Lab

Preview with #627C20

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

Preview Lab → · Contrast checker → · Palette generator →

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