#627E2A#627E2A

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

Color values

HEX#627E2A
RGBrgb(98, 126, 42)
HSLhsl(80, 50%, 33%)
HSVhsv(80, 67%, 49%)
CMYKcmyk(22.2%, 0%, 66.7%, 50.6%)
CIE-LABlab(49.11, -23.60, 41.01)
CIE-LCHlch(49.11, 47.32, 119.92°)
OKLaboklab(55.33% -0.0675 0.0938)
OKLCHoklch(55.33% 0.116 125.7)
XYZxyz(12.9158, 17.6854, 4.9232)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E2A #462A7E
analogous
#7E702A #627E2A #387E2A
triadic
#627E2A #2A627E #7E2A62
tetradic
#627E2A #2A7E70 #462A7E #7E2A38
square
#627E2A #2A7E70 #462A7E #7E2A38
split-complementary
#627E2A #2A387E #702A7E
monochromatic
#1B220B #3E501B #627E2A #86AC39 #A3C85A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627E2A#FFFFFF#000000##FFFFFF
##627E2A1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #627e2a;
/* rgb */ color: rgb(98, 126, 42);
/* oklch */ color: oklch(55.3% 0.116 125.7);
Tailwind
colors: {
  custom: {
    50: '#91a368',
    500: '#627e2a',
    950: '#000000',
  },
}
SCSS
$custom: #627e2a;
$custom-light: #91a368;
$custom-dark: #000000;
JSON
{
  "hex": "#627e2a",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 80,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55325,
    "c": 0.1155,
    "h": 125.7
  },
  "luminance": 0.17686
}

Semantic roles & 50–950 ramp

primary
#627E2A
secondary
#7356AE
accent
#4EDA7D
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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