#627C22#627C22

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

Color values

HEX#627C22
RGBrgb(98, 124, 34)
HSLhsl(77, 57%, 31%)
HSVhsv(77, 73%, 49%)
CMYKcmyk(21%, 0%, 72.6%, 51.4%)
CIE-LABlab(48.42, -23.18, 43.72)
CIE-LCHlch(48.42, 49.48, 117.93°)
OKLaboklab(54.75% -0.0671 0.0982)
OKLCHoklch(54.75% 0.119 124.3)
XYZxyz(12.5335, 17.1274, 4.1587)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627C22 #3C227C
analogous
#7C6922 #627C22 #357C22
triadic
#627C22 #22627C #7C2262
tetradic
#627C22 #227C69 #3C227C #7C2235
square
#627C22 #227C69 #3C227C #7C2235
split-complementary
#627C22 #22357C #69227C
monochromatic
#161C08 #3C4C15 #627C22 #88AC2F #A8CE4B

Accessibility & contrast

On white

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

On black

4.43
#627C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##627C22#FFFFFF#000000##FFFFFF
##627C221.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #627c22;
/* rgb */ color: rgb(98, 124, 34);
/* oklch */ color: oklch(54.7% 0.119 124.3);
Tailwind
colors: {
  custom: {
    50: '#91a263',
    500: '#627c22',
    950: '#000000',
  },
}
SCSS
$custom: #627c22;
$custom-light: #91a263;
$custom-dark: #000000;
JSON
{
  "hex": "#627c22",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 77.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.11893,
    "h": 124.3
  },
  "luminance": 0.17127
}

Semantic roles & 50–950 ramp

primary
#627C22
secondary
#684BAF
accent
#48E074
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F06
muted
#7E7E7A

Preview Lab

Preview with #627C22

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

Preview Lab → · Contrast checker → · Palette generator →

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