#627D2B#627D2B

#627D2B is a mid, moderate yellow-green. Relative luminance 0.174; OKLCH L 55.1% C 0.113 H 125.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#627D2B
RGBrgb(98, 125, 43)
HSLhsl(80, 49%, 33%)
HSVhsv(80, 66%, 49%)
CMYKcmyk(21.6%, 0%, 65.6%, 51%)
CIE-LABlab(48.81, -23.01, 40.23)
CIE-LCHlch(48.81, 46.35, 119.77°)
OKLaboklab(55.08% -0.0657 0.0922)
OKLCHoklch(55.08% 0.113 125.5)
XYZxyz(12.8067, 17.4382, 4.9762)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D2B #462B7D
analogous
#7D6F2B #627D2B #397D2B
triadic
#627D2B #2B627D #7D2B62
tetradic
#627D2B #2B7D6F #462B7D #7D2B39
square
#627D2B #2B7D6F #462B7D #7D2B39
split-complementary
#627D2B #2B397D #6F2B7D
monochromatic
#1B220C #3E4F1B #627D2B #86AB3B #A3C75C

Accessibility & contrast

On white

4.68
#627D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#627D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627D2B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627D2B#FFFFFF#000000##FFFFFF
##627D2B1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847521
Deuteranopia (green-blind)
#807431
Tritanopia (blue-blind)
#66776C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627d2b;
/* rgb */ color: rgb(98, 125, 43);
/* oklch */ color: oklch(55.1% 0.113 125.5);
Tailwind
colors: {
  custom: {
    50: '#91a268',
    500: '#627d2b',
    950: '#000000',
  },
}
SCSS
$custom: #627d2b;
$custom-light: #91a268;
$custom-dark: #000000;
JSON
{
  "hex": "#627d2b",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 79.756,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55082,
    "c": 0.11327,
    "h": 125.5
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#627D2B
secondary
#7357AD
accent
#4FD87D
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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