#627D2A#627D2A

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

Color values

HEX#627D2A
RGBrgb(98, 125, 42)
HSLhsl(80, 50%, 33%)
HSVhsv(80, 66%, 49%)
CMYKcmyk(21.6%, 0%, 66.4%, 51%)
CIE-LABlab(48.80, -23.09, 40.68)
CIE-LCHlch(48.80, 46.77, 119.58°)
OKLaboklab(55.07% -0.0661 0.093)
OKLCHoklch(55.07% 0.114 125.4)
XYZxyz(12.7886, 17.4309, 4.8808)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D2A #452A7D
analogous
#7D6E2A #627D2A #387D2A
triadic
#627D2A #2A627D #7D2A62
tetradic
#627D2A #2A7D6E #452A7D #7D2A38
square
#627D2A #2A7D6E #452A7D #7D2A38
split-complementary
#627D2A #2A387D #6E2A7D
monochromatic
#1A210B #3E4F1B #627D2A #86AB39 #A4C85A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627D2A#FFFFFF#000000##FFFFFF
##627D2A1.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)
#84751F
Deuteranopia (green-blind)
#807430
Tritanopia (blue-blind)
#66776C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627d2a;
/* rgb */ color: rgb(98, 125, 42);
/* oklch */ color: oklch(55.1% 0.114 125.4);
Tailwind
colors: {
  custom: {
    50: '#91a268',
    500: '#627d2a',
    950: '#000000',
  },
}
SCSS
$custom: #627d2a;
$custom-light: #91a268;
$custom-dark: #000000;
JSON
{
  "hex": "#627d2a",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 79.518,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.11411,
    "h": 125.4
  },
  "luminance": 0.17431
}

Semantic roles & 50–950 ramp

primary
#627D2A
secondary
#7256AD
accent
#4FD97C
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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