#627D22#627D22

#627D22 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 55.0% C 0.120 H 124.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#627D22
RGBrgb(98, 125, 34)
HSLhsl(78, 57%, 31%)
HSVhsv(78, 73%, 49%)
CMYKcmyk(21.6%, 0%, 72.8%, 51%)
CIE-LABlab(48.73, -23.68, 44.03)
CIE-LCHlch(48.73, 50.00, 118.27°)
OKLaboklab(55% -0.0685 0.0989)
OKLCHoklch(55% 0.12 124.7)
XYZxyz(12.6595, 17.3793, 4.2007)
Luminance0.1738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D22 #3D227D
analogous
#7D6A22 #627D22 #347D22
triadic
#627D22 #22627D #7D2262
tetradic
#627D22 #227D6A #3D227D #7D2234
square
#627D22 #227D6A #3D227D #7D2234
split-complementary
#627D22 #22347D #6A227D
monochromatic
#171D08 #3C4D15 #627D22 #88AD2F #A7CE4B

Accessibility & contrast

On white

4.69
#627D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#627D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627D22
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627D22#FFFFFF#000000##FFFFFF
##627D221.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847513
Deuteranopia (green-blind)
#81732A
Tritanopia (blue-blind)
#67776B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627d22;
/* rgb */ color: rgb(98, 125, 34);
/* oklch */ color: oklch(55.0% 0.120 124.7);
Tailwind
colors: {
  custom: {
    50: '#91a263',
    500: '#627d22',
    950: '#000000',
  },
}
SCSS
$custom: #627d22;
$custom-light: #91a263;
$custom-dark: #000000;
JSON
{
  "hex": "#627d22",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 77.802,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54999,
    "c": 0.12026,
    "h": 124.7
  },
  "luminance": 0.17379
}

Semantic roles & 50–950 ramp

primary
#627D22
secondary
#694BB0
accent
#47E075
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627D22

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

Preview Lab → · Contrast checker → · Palette generator →

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