#627D45#627D45

#627D45 is a mid, moderate yellow-green. Relative luminance 0.177; OKLCH L 55.4% C 0.087 H 129.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#627D45
RGBrgb(98, 125, 69)
HSLhsl(89, 29%, 38%)
HSVhsv(89, 45%, 49%)
CMYKcmyk(21.6%, 0%, 44.8%, 51%)
CIE-LABlab(49.12, -20.18, 27.36)
CIE-LCHlch(49.12, 33.99, 126.41°)
OKLaboklab(55.44% -0.0556 0.0666)
OKLCHoklch(55.44% 0.087 129.9)
XYZxyz(13.4446, 17.6933, 8.3359)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D45 #60457D
analogous
#7D7C45 #627D45 #467D45
triadic
#627D45 #45627D #7D4562
tetradic
#627D45 #457D7C #60457D #7D4546
square
#627D45 #457D7C #60457D #7D4546
split-complementary
#627D45 #45467D #7C457D
monochromatic
#242E19 #43562F #627D45 #81A45B #9FBA82

Accessibility & contrast

On white

4.63
#627D45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#627D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627D45
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627D45#FFFFFF#000000##FFFFFF
##627D451.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827641
Deuteranopia (green-blind)
#7E7448
Tritanopia (blue-blind)
#64796F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627d45;
/* rgb */ color: rgb(98, 125, 69);
/* oklch */ color: oklch(55.4% 0.087 129.9);
Tailwind
colors: {
  custom: {
    50: '#90a279',
    500: '#627d45',
    950: '#000000',
  },
}
SCSS
$custom: #627d45;
$custom-light: #90a279;
$custom-dark: #000000;
JSON
{
  "hex": "#627d45",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 69
  },
  "hsl": {
    "h": 88.929,
    "s": 28.866,
    "l": 38.039
  },
  "oklch": {
    "l": 0.55437,
    "c": 0.08676,
    "h": 129.9
  },
  "luminance": 0.17694
}

Semantic roles & 50–950 ramp

primary
#627D45
secondary
#8E78A6
accent
#63C592
background
#F8FAF7
surface
#F0F3ED
border
#CBCDC8
text
#0C0F09
muted
#7D7F7B

Preview Lab

Preview with #627D45

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

Preview Lab → · Contrast checker → · Palette generator →

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