#627D24#627D24

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

Color values

HEX#627D24
RGBrgb(98, 125, 36)
HSLhsl(78, 55%, 32%)
HSVhsv(78, 71%, 49%)
CMYKcmyk(21.6%, 0%, 71.2%, 51%)
CIE-LABlab(48.75, -23.55, 43.23)
CIE-LCHlch(48.75, 49.23, 118.58°)
OKLaboklab(55.02% -0.0679 0.0975)
OKLCHoklch(55.02% 0.119 124.9)
XYZxyz(12.6891, 17.3911, 4.3570)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D24 #3F247D
analogous
#7D6C24 #627D24 #367D24
triadic
#627D24 #24627D #7D2462
tetradic
#627D24 #247D6C #3F247D #7D2436
square
#627D24 #247D6C #3F247D #7D2436
split-complementary
#627D24 #24367D #6C247D
monochromatic
#171E09 #3D4D16 #627D24 #87AD32 #A6CC4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627D24#FFFFFF#000000##FFFFFF
##627D241.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)
#847516
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#67776B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627d24;
/* rgb */ color: rgb(98, 125, 36);
/* oklch */ color: oklch(55.0% 0.119 124.9);
Tailwind
colors: {
  custom: {
    50: '#91a264',
    500: '#627d24',
    950: '#000000',
  },
}
SCSS
$custom: #627d24;
$custom-light: #91a264;
$custom-dark: #000000;
JSON
{
  "hex": "#627d24",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 78.202,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55016,
    "c": 0.11882,
    "h": 124.9
  },
  "luminance": 0.17391
}

Semantic roles & 50–950 ramp

primary
#627D24
secondary
#6B4DAF
accent
#49DF77
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627D24

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

Preview Lab → · Contrast checker → · Palette generator →

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