#627121#627121

#627121 is a mid, moderate yellow-green. Relative luminance 0.145; OKLCH L 52.0% C 0.105 H 119.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#627121
RGBrgb(98, 113, 33)
HSLhsl(71, 55%, 29%)
HSVhsv(71, 71%, 44%)
CMYKcmyk(13.3%, 0%, 70.8%, 55.7%)
CIE-LABlab(44.97, -17.53, 40.63)
CIE-LCHlch(44.97, 44.25, 113.34°)
OKLaboklab(51.96% -0.0516 0.0916)
OKLCHoklch(51.96% 0.105 119.4)
XYZxyz(11.2168, 14.5168, 3.6497)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627121 #302171
analogous
#715821 #627121 #3A7121
triadic
#627121 #216271 #712162
tetradic
#627121 #217158 #302171 #71213A
square
#627121 #217158 #302171 #71213A
split-complementary
#627121 #213A71 #582171
monochromatic
#151807 #394213 #627121 #8BA02F #B0C844

Accessibility & contrast

On white

5.38
#627121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#627121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627121
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627121#FFFFFF#000000##FFFFFF
##6271211.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A15
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#686B61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #627121;
/* rgb */ color: rgb(98, 113, 33);
/* oklch */ color: oklch(52.0% 0.105 119.4);
Tailwind
colors: {
  custom: {
    50: '#919961',
    500: '#627121',
    950: '#000000',
  },
}
SCSS
$custom: #627121;
$custom-light: #919961;
$custom-dark: #000000;
JSON
{
  "hex": "#627121",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 71.25,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51955,
    "c": 0.10508,
    "h": 119.4
  },
  "luminance": 0.14517
}

Semantic roles & 50–950 ramp

primary
#627121
secondary
#5A49A5
accent
#4ADE66
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #627121

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

Preview Lab → · Contrast checker → · Palette generator →

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