#627E2E#627E2E

#627E2E is a mid, moderate yellow-green. Relative luminance 0.177; OKLCH L 55.4% C 0.112 H 126.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#627E2E
RGBrgb(98, 126, 46)
HSLhsl(81, 47%, 34%)
HSVhsv(81, 63%, 49%)
CMYKcmyk(22.2%, 0%, 63.5%, 50.6%)
CIE-LABlab(49.15, -23.26, 39.21)
CIE-LCHlch(49.15, 45.59, 120.67°)
OKLaboklab(55.37% -0.0661 0.0905)
OKLCHoklch(55.37% 0.112 126.2)
XYZxyz(12.9910, 17.7155, 5.3192)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E2E #4A2E7E
analogous
#7E722E #627E2E #3A7E2E
triadic
#627E2E #2E627E #7E2E62
tetradic
#627E2E #2E7E72 #4A2E7E #7E2E3A
square
#627E2E #2E7E72 #4A2E7E #7E2E3A
split-complementary
#627E2E #2E3A7E #722E7E
monochromatic
#1C240D #3F511E #627E2E #85AB3E #A2C561

Accessibility & contrast

On white

4.62
#627E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#627E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E2E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E2E#FFFFFF#000000##FFFFFF
##627E2E1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847625
Deuteranopia (green-blind)
#817434
Tritanopia (blue-blind)
#66786D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627e2e;
/* rgb */ color: rgb(98, 126, 46);
/* oklch */ color: oklch(55.4% 0.112 126.2);
Tailwind
colors: {
  custom: {
    50: '#91a36a',
    500: '#627e2e',
    950: '#000000',
  },
}
SCSS
$custom: #627e2e;
$custom-light: #91a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#627e2e",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 81,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55367,
    "c": 0.11208,
    "h": 126.2
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#627E2E
secondary
#785CAC
accent
#52D680
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #627E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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