#627B2E#627B2E

#627B2E is a mid, moderate yellow-green. Relative luminance 0.170; OKLCH L 54.6% C 0.108 H 125.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#627B2E
RGBrgb(98, 123, 46)
HSLhsl(79, 46%, 33%)
HSVhsv(79, 63%, 48%)
CMYKcmyk(20.3%, 0%, 62.6%, 51.8%)
CIE-LABlab(48.21, -21.73, 38.17)
CIE-LCHlch(48.21, 43.93, 119.65°)
OKLaboklab(54.61% -0.0619 0.0883)
OKLCHoklch(54.61% 0.108 125)
XYZxyz(12.6131, 16.9597, 5.1933)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627B2E #472E7B
analogous
#7B6D2E #627B2E #3B7B2E
triadic
#627B2E #2E627B #7B2E62
tetradic
#627B2E #2E7B6D #472E7B #7B2E3B
square
#627B2E #2E7B6D #472E7B #7B2E3B
split-complementary
#627B2E #2E3B7B #6D2E7B
monochromatic
#1B220D #3F4E1D #627B2E #85A83F #A3C360

Accessibility & contrast

On white

4.78
#627B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#627B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627B2E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627B2E#FFFFFF#000000##FFFFFF
##627B2E1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827325
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#66756B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627b2e;
/* rgb */ color: rgb(98, 123, 46);
/* oklch */ color: oklch(54.6% 0.108 125.0);
Tailwind
colors: {
  custom: {
    50: '#91a16a',
    500: '#627b2e',
    950: '#000000',
  },
}
SCSS
$custom: #627b2e;
$custom-light: #91a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#627b2e",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 79.481,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54607,
    "c": 0.10782,
    "h": 125
  },
  "luminance": 0.1696
}

Semantic roles & 50–950 ramp

primary
#627B2E
secondary
#745BAA
accent
#53D57D
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F07
muted
#7E7E7A

Preview Lab

Preview with #627B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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