#627A2E#627A2E

#627A2E is a mid, moderate yellow-green. Relative luminance 0.167; OKLCH L 54.4% C 0.106 H 124.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#627A2E
RGBrgb(98, 122, 46)
HSLhsl(79, 45%, 33%)
HSVhsv(79, 62%, 48%)
CMYKcmyk(19.7%, 0%, 62.3%, 52.2%)
CIE-LABlab(47.90, -21.22, 37.83)
CIE-LCHlch(47.90, 43.37, 119.29°)
OKLaboklab(54.36% -0.0605 0.0875)
OKLCHoklch(54.36% 0.106 124.6)
XYZxyz(12.4897, 16.7129, 5.1521)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A2E #462E7A
analogous
#7A6C2E #627A2E #3C7A2E
triadic
#627A2E #2E627A #7A2E62
tetradic
#627A2E #2E7A6C #462E7A #7A2E3C
square
#627A2E #2E7A6C #462E7A #7A2E3C
split-complementary
#627A2E #2E3C7A #6C2E7A
monochromatic
#1B210C #3E4E1D #627A2E #86A63F #A4C360

Accessibility & contrast

On white

4.84
#627A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#627A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627A2E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627A2E#FFFFFF#000000##FFFFFF
##627A2E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817225
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#66746A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627a2e;
/* rgb */ color: rgb(98, 122, 46);
/* oklch */ color: oklch(54.4% 0.106 124.6);
Tailwind
colors: {
  custom: {
    50: '#91a06a',
    500: '#627a2e',
    950: '#000000',
  },
}
SCSS
$custom: #627a2e;
$custom-light: #91a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#627a2e",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 78.947,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54355,
    "c": 0.10639,
    "h": 124.6
  },
  "luminance": 0.16713
}

Semantic roles & 50–950 ramp

primary
#627A2E
secondary
#735AAA
accent
#53D57C
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E07
muted
#7E7E7A

Preview Lab

Preview with #627A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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