#627E28#627E28

#627E28 is a mid, moderate yellow-green. Relative luminance 0.177; OKLCH L 55.3% C 0.117 H 125.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#627E28
RGBrgb(98, 126, 40)
HSLhsl(80, 52%, 33%)
HSVhsv(80, 68%, 49%)
CMYKcmyk(22.2%, 0%, 68.3%, 50.6%)
CIE-LABlab(49.10, -23.76, 41.88)
CIE-LCHlch(49.10, 48.15, 119.56°)
OKLaboklab(55.31% -0.0681 0.0953)
OKLCHoklch(55.31% 0.117 125.5)
XYZxyz(12.8809, 17.6714, 4.7394)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E28 #44287E
analogous
#7E6F28 #627E28 #377E28
triadic
#627E28 #28627E #7E2862
tetradic
#627E28 #287E6F #44287E #7E2837
square
#627E28 #287E6F #44287E #7E2837
split-complementary
#627E28 #28377E #6F287E
monochromatic
#1A210B #3E5019 #627E28 #86AC37 #A4CA57

Accessibility & contrast

On white

4.63
#627E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#627E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E28
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E28#FFFFFF#000000##FFFFFF
##627E281.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761C
Deuteranopia (green-blind)
#81742F
Tritanopia (blue-blind)
#66786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627e28;
/* rgb */ color: rgb(98, 126, 40);
/* oklch */ color: oklch(55.3% 0.117 125.5);
Tailwind
colors: {
  custom: {
    50: '#91a367',
    500: '#627e28',
    950: '#000000',
  },
}
SCSS
$custom: #627e28;
$custom-light: #91a367;
$custom-dark: #000000;
JSON
{
  "hex": "#627e28",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 79.535,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55306,
    "c": 0.11712,
    "h": 125.5
  },
  "luminance": 0.17672
}

Semantic roles & 50–950 ramp

primary
#627E28
secondary
#7153AF
accent
#4DDB7B
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627E28

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

Preview Lab → · Contrast checker → · Palette generator →

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