#627F25#627F25

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

Color values

HEX#627F25
RGBrgb(98, 127, 37)
HSLhsl(79, 55%, 32%)
HSVhsv(79, 71%, 50%)
CMYKcmyk(22.8%, 0%, 70.9%, 50.2%)
CIE-LABlab(49.39, -24.48, 43.46)
CIE-LCHlch(49.39, 49.88, 119.39°)
OKLaboklab(55.53% -0.0704 0.0982)
OKLCHoklch(55.53% 0.121 125.6)
XYZxyz(12.9604, 17.9088, 4.5238)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F25 #42257F
analogous
#7F6F25 #627F25 #357F25
triadic
#627F25 #25627F #7F2562
tetradic
#627F25 #257F6F #42257F #7F2535
square
#627F25 #257F6F #42257F #7F2535
split-complementary
#627F25 #25357F #6F257F
monochromatic
#192009 #3D5017 #627F25 #87AE33 #A5CD52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627F25#FFFFFF#000000##000000
##627F251.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)
#867617
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#66796D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f25;
/* rgb */ color: rgb(98, 127, 37);
/* oklch */ color: oklch(55.5% 0.121 125.6);
Tailwind
colors: {
  custom: {
    50: '#91a465',
    500: '#627f25',
    950: '#000000',
  },
}
SCSS
$custom: #627f25;
$custom-light: #91a465;
$custom-dark: #000000;
JSON
{
  "hex": "#627f25",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 79.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55533,
    "c": 0.12078,
    "h": 125.6
  },
  "luminance": 0.17909
}

Semantic roles & 50–950 ramp

primary
#627F25
secondary
#6F4FB1
accent
#4ADE79
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627F25

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

Preview Lab → · Contrast checker → · Palette generator →

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