#627E22#627E22

#627E22 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.3% C 0.122 H 125.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#627E22
RGBrgb(98, 126, 34)
HSLhsl(78, 58%, 31%)
HSVhsv(78, 73%, 49%)
CMYKcmyk(22.2%, 0%, 73%, 50.6%)
CIE-LABlab(49.05, -24.18, 44.35)
CIE-LCHlch(49.05, 50.51, 118.61°)
OKLaboklab(55.25% -0.0698 0.0995)
OKLCHoklch(55.25% 0.122 125.1)
XYZxyz(12.7867, 17.6337, 4.2431)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E22 #3E227E
analogous
#7E6C22 #627E22 #347E22
triadic
#627E22 #22627E #7E2262
tetradic
#627E22 #227E6C #3E227E #7E2234
square
#627E22 #227E6C #3E227E #7E2234
split-complementary
#627E22 #22347E #6C227E
monochromatic
#171E08 #3D4E15 #627E22 #87AE2F #A7CF4C

Accessibility & contrast

On white

4.64
#627E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#627E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E22
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E22#FFFFFF#000000##FFFFFF
##627E221.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857613
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627e22;
/* rgb */ color: rgb(98, 126, 34);
/* oklch */ color: oklch(55.3% 0.122 125.1);
Tailwind
colors: {
  custom: {
    50: '#92a363',
    500: '#627e22',
    950: '#000000',
  },
}
SCSS
$custom: #627e22;
$custom-light: #92a363;
$custom-dark: #000000;
JSON
{
  "hex": "#627e22",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 78.261,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55253,
    "c": 0.12159,
    "h": 125.1
  },
  "luminance": 0.17634
}

Semantic roles & 50–950 ramp

primary
#627E22
secondary
#6A4BB1
accent
#47E176
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627E22

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

Preview Lab → · Contrast checker → · Palette generator →

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