#627C2B#627C2B

#627C2B is a mid, moderate yellow-green. Relative luminance 0.172; OKLCH L 54.8% C 0.112 H 125.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#627C2B
RGBrgb(98, 124, 43)
HSLhsl(79, 49%, 33%)
HSVhsv(79, 65%, 49%)
CMYKcmyk(21%, 0%, 65.3%, 51.4%)
CIE-LABlab(48.49, -22.50, 39.89)
CIE-LCHlch(48.49, 45.80, 119.43°)
OKLaboklab(54.83% -0.0643 0.0915)
OKLCHoklch(54.83% 0.112 125.1)
XYZxyz(12.6808, 17.1863, 4.9342)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627C2B #452B7C
analogous
#7C6D2B #627C2B #3A7C2B
triadic
#627C2B #2B627C #7C2B62
tetradic
#627C2B #2B7C6D #452B7C #7C2B3A
square
#627C2B #2B7C6D #452B7C #7C2B3A
split-complementary
#627C2B #2B3A7C #6D2B7C
monochromatic
#1A210B #3E4F1B #627C2B #86A93B #A4C65B

Accessibility & contrast

On white

4.73
#627C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#627C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627C2B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627C2B#FFFFFF#000000##FFFFFF
##627C2B1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#7F7331
Tritanopia (blue-blind)
#66766B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #627c2b;
/* rgb */ color: rgb(98, 124, 43);
/* oklch */ color: oklch(54.8% 0.112 125.1);
Tailwind
colors: {
  custom: {
    50: '#91a268',
    500: '#627c2b',
    950: '#000000',
  },
}
SCSS
$custom: #627c2b;
$custom-light: #91a268;
$custom-dark: #000000;
JSON
{
  "hex": "#627c2b",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 79.259,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.11188,
    "h": 125.1
  },
  "luminance": 0.17186
}

Semantic roles & 50–950 ramp

primary
#627C2B
secondary
#7257AC
accent
#50D87B
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F06
muted
#7E7E7A

Preview Lab

Preview with #627C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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