#627A22#627A22

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

Color values

HEX#627A22
RGBrgb(98, 122, 34)
HSLhsl(76, 56%, 31%)
HSVhsv(76, 72%, 48%)
CMYKcmyk(19.7%, 0%, 72.1%, 52.2%)
CIE-LABlab(47.79, -22.16, 43.08)
CIE-LCHlch(47.79, 48.45, 117.22°)
OKLaboklab(54.24% -0.0643 0.0969)
OKLCHoklch(54.24% 0.116 123.6)
XYZxyz(12.2854, 16.6312, 4.0760)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A22 #3A227A
analogous
#7A6622 #627A22 #367A22
triadic
#627A22 #22627A #7A2262
tetradic
#627A22 #227A66 #3A227A #7A2236
square
#627A22 #227A66 #3A227A #7A2236
split-complementary
#627A22 #22367A #66227A
monochromatic
#151A07 #3C4A15 #627A22 #88AA2F #A9CD4A

Accessibility & contrast

On white

4.85
#627A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#627A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627A22
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627A22#FFFFFF#000000##FFFFFF
##627A221.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#677469
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #627a22;
/* rgb */ color: rgb(98, 122, 34);
/* oklch */ color: oklch(54.2% 0.116 123.6);
Tailwind
colors: {
  custom: {
    50: '#91a063',
    500: '#627a22',
    950: '#000000',
  },
}
SCSS
$custom: #627a22;
$custom-light: #91a063;
$custom-dark: #000000;
JSON
{
  "hex": "#627a22",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 76.364,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.11626,
    "h": 123.6
  },
  "luminance": 0.16631
}

Semantic roles & 50–950 ramp

primary
#627A22
secondary
#664BAD
accent
#48E071
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E05
muted
#7E7E7A

Preview Lab

Preview with #627A22

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

Preview Lab → · Contrast checker → · Palette generator →

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