#627F22#627F22

#627F22 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.123 H 125.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#627F22
RGBrgb(98, 127, 34)
HSLhsl(79, 58%, 32%)
HSVhsv(79, 73%, 50%)
CMYKcmyk(22.8%, 0%, 73.2%, 50.2%)
CIE-LABlab(49.36, -24.68, 44.66)
CIE-LCHlch(49.36, 51.03, 118.93°)
OKLaboklab(55.51% -0.0712 0.1002)
OKLCHoklch(55.51% 0.123 125.4)
XYZxyz(12.9152, 17.8907, 4.2859)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F22 #3F227F
analogous
#7F6E22 #627F22 #347F22
triadic
#627F22 #22627F #7F2262
tetradic
#627F22 #227F6E #3F227F #7F2234
square
#627F22 #227F6E #3F227F #7F2234
split-complementary
#627F22 #22347F #6E227F
monochromatic
#171E08 #3D4F15 #627F22 #87AF2F #A6CF4C

Accessibility & contrast

On white

4.59
#627F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#627F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627F22
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F22#FFFFFF#000000##FFFFFF
##627F221.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867612
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#66796D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f22;
/* rgb */ color: rgb(98, 127, 34);
/* oklch */ color: oklch(55.5% 0.123 125.4);
Tailwind
colors: {
  custom: {
    50: '#92a464',
    500: '#627f22',
    950: '#000000',
  },
}
SCSS
$custom: #627f22;
$custom-light: #92a464;
$custom-dark: #000000;
JSON
{
  "hex": "#627f22",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 78.71,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55508,
    "c": 0.12292,
    "h": 125.4
  },
  "luminance": 0.17891
}

Semantic roles & 50–950 ramp

primary
#627F22
secondary
#6B4BB2
accent
#47E177
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627F22

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

Preview Lab → · Contrast checker → · Palette generator →

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