#627F24#627F24

#627F24 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.122 H 125.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#627F24
RGBrgb(98, 127, 36)
HSLhsl(79, 56%, 32%)
HSVhsv(79, 72%, 50%)
CMYKcmyk(22.8%, 0%, 71.7%, 50.2%)
CIE-LABlab(49.38, -24.55, 43.87)
CIE-LCHlch(49.38, 50.27, 119.23°)
OKLaboklab(55.52% -0.0707 0.0988)
OKLCHoklch(55.52% 0.122 125.6)
XYZxyz(12.9449, 17.9026, 4.4423)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F24 #41247F
analogous
#7F6F24 #627F24 #357F24
triadic
#627F24 #24627F #7F2462
tetradic
#627F24 #247F6F #41247F #7F2435
square
#627F24 #247F6F #41247F #7F2435
split-complementary
#627F24 #24357F #6F247F
monochromatic
#182009 #3D4F16 #627F24 #87AF32 #A5CD50

Accessibility & contrast

On white

4.58
#627F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #627F24
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F24#FFFFFF#000000##000000
##627F241.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #627f24;
/* rgb */ color: rgb(98, 127, 36);
/* oklch */ color: oklch(55.5% 0.122 125.6);
Tailwind
colors: {
  custom: {
    50: '#91a465',
    500: '#627f24',
    950: '#000000',
  },
}
SCSS
$custom: #627f24;
$custom-light: #91a465;
$custom-dark: #000000;
JSON
{
  "hex": "#627f24",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 79.121,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55524,
    "c": 0.12151,
    "h": 125.6
  },
  "luminance": 0.17903
}

Semantic roles & 50–950 ramp

primary
#627F24
secondary
#6D4EB1
accent
#49DF79
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627F24

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

Preview Lab → · Contrast checker → · Palette generator →

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