#627231#627231

#627231 is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.4% C 0.092 H 121.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#627231
RGBrgb(98, 114, 49)
HSLhsl(75, 40%, 32%)
HSVhsv(75, 57%, 45%)
CMYKcmyk(14%, 0%, 57%, 55.3%)
CIE-LABlab(45.43, -16.72, 33.54)
CIE-LCHlch(45.43, 37.48, 116.49°)
OKLaboklab(52.38% -0.0476 0.0787)
OKLCHoklch(52.38% 0.092 121.2)
XYZxyz(11.6088, 14.8531, 5.1605)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627231 #413172
analogous
#726231 #627231 #427231
triadic
#627231 #316272 #723162
tetradic
#627231 #317262 #413172 #723142
square
#627231 #317262 #413172 #723142
split-complementary
#627231 #314272 #623172
monochromatic
#181C0C #3D471F #627231 #879D43 #A5BB62

Accessibility & contrast

On white

5.29
#627231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#627231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627231
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627231#FFFFFF#000000##FFFFFF
##6272311.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C2B
Deuteranopia (green-blind)
#766C35
Tritanopia (blue-blind)
#676D64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #627231;
/* rgb */ color: rgb(98, 114, 49);
/* oklch */ color: oklch(52.4% 0.092 121.2);
Tailwind
colors: {
  custom: {
    50: '#909a6b',
    500: '#627231',
    950: '#000000',
  },
}
SCSS
$custom: #627231;
$custom-light: #909a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#627231",
  "rgb": {
    "r": 98,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 74.769,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52381,
    "c": 0.09199,
    "h": 121.2
  },
  "luminance": 0.14853
}

Semantic roles & 50–950 ramp

primary
#627231
secondary
#6D5CA3
accent
#58D076
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E07
muted
#7E7E7A

Preview Lab

Preview with #627231

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

Preview Lab → · Contrast checker → · Palette generator →

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