#627151#627151

#627151 is a mid, muted yellow-green. Relative luminance 0.150; OKLCH L 52.7% C 0.051 H 128.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#627151
RGBrgb(98, 113, 81)
HSLhsl(88, 16%, 38%)
HSVhsv(88, 28%, 44%)
CMYKcmyk(13.3%, 0%, 28.3%, 55.7%)
CIE-LABlab(45.64, -11.90, 15.96)
CIE-LCHlch(45.64, 19.91, 126.70°)
OKLaboklab(52.71% -0.032 0.0403)
OKLCHoklch(52.71% 0.051 128.5)
XYZxyz(12.4271, 15.0009, 10.0237)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627151 #605171
analogous
#717051 #627151 #527151
triadic
#627151 #516271 #715162
tetradic
#627151 #517170 #605171 #715152
square
#627151 #517170 #605171 #715152
split-complementary
#627151 #515271 #705171
monochromatic
#242A1E #434D37 #627151 #81956B #9FAE8E

Accessibility & contrast

On white

5.25
#627151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#627151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627151
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627151#FFFFFF#000000##FFFFFF
##6271511.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746D4F
Deuteranopia (green-blind)
#726C52
Tritanopia (blue-blind)
#636E68
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #627151;
/* rgb */ color: rgb(98, 113, 81);
/* oklch */ color: oklch(52.7% 0.051 128.5);
Tailwind
colors: {
  custom: {
    50: '#8f9982',
    500: '#627151',
    950: '#000000',
  },
}
SCSS
$custom: #627151;
$custom-light: #8f9982;
$custom-dark: #000000;
JSON
{
  "hex": "#627151",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 81
  },
  "hsl": {
    "h": 88.125,
    "s": 16.495,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5271,
    "c": 0.05149,
    "h": 128.5
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#627151
secondary
#8E829C
accent
#6FB992
background
#F8F9F7
surface
#F0F2EE
border
#CBCCC9
text
#0C0E0A
muted
#7D7E7C

Preview Lab

Preview with #627151

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

Preview Lab → · Contrast checker → · Palette generator →

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