#627142#627142

#627142 is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.4% C 0.071 H 123.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#627142
RGBrgb(98, 113, 66)
HSLhsl(79, 26%, 35%)
HSVhsv(79, 42%, 44%)
CMYKcmyk(13.3%, 0%, 41.6%, 55.7%)
CIE-LABlab(45.36, -14.17, 24.24)
CIE-LCHlch(45.36, 28.08, 120.30°)
OKLaboklab(52.4% -0.0389 0.0594)
OKLCHoklch(52.4% 0.071 123.3)
XYZxyz(11.9255, 14.8002, 7.3817)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627142 #514271
analogous
#716842 #627142 #4A7142
triadic
#627142 #426271 #714262
tetradic
#627142 #427168 #514271 #71424A
square
#627142 #427168 #514271 #71424A
split-complementary
#627142 #424A71 #684271
monochromatic
#1F2415 #404A2B #627142 #849859 #A1B27B

Accessibility & contrast

On white

5.30
#627142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#627142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627142
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627142#FFFFFF#000000##FFFFFF
##6271421.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C3E
Deuteranopia (green-blind)
#746B44
Tritanopia (blue-blind)
#656D65
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #627142;
/* rgb */ color: rgb(98, 113, 66);
/* oklch */ color: oklch(52.4% 0.071 123.3);
Tailwind
colors: {
  custom: {
    50: '#8f9977',
    500: '#627142',
    950: '#000000',
  },
}
SCSS
$custom: #627142;
$custom-light: #8f9977;
$custom-dark: #000000;
JSON
{
  "hex": "#627142",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 79.149,
    "s": 26.257,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52399,
    "c": 0.07099,
    "h": 123.3
  },
  "luminance": 0.148
}

Semantic roles & 50–950 ramp

primary
#627142
secondary
#7F719D
accent
#65C383
background
#F8F9F7
surface
#F0F2ED
border
#CBCCC8
text
#0C0E08
muted
#7D7E7B

Preview Lab

Preview with #627142

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

Preview Lab → · Contrast checker → · Palette generator →

#627142 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva