#627116#627116

#627116 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 51.9% C 0.112 H 118.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#627116
RGBrgb(98, 113, 22)
HSLhsl(70, 67%, 26%)
HSVhsv(70, 81%, 44%)
CMYKcmyk(13.3%, 0%, 80.5%, 55.7%)
CIE-LABlab(44.89, -18.16, 44.80)
CIE-LCHlch(44.89, 48.35, 112.07°)
OKLaboklab(51.87% -0.0544 0.0984)
OKLCHoklch(51.87% 0.112 118.9)
XYZxyz(11.0872, 14.4649, 2.9668)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627116 #251671
analogous
#715316 #627116 #357116
triadic
#627116 #166271 #711662
tetradic
#627116 #167153 #251671 #711635
square
#627116 #167153 #251671 #711635
split-complementary
#627116 #163571 #531671
monochromatic
#161A05 #363E0C #627116 #8EA420 #BAD62C

Accessibility & contrast

On white

5.39
#627116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#627116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627116
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627116#FFFFFF#000000##FFFFFF
##6271161.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#776B1F
Tritanopia (blue-blind)
#686A60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #627116;
/* rgb */ color: rgb(98, 113, 22);
/* oklch */ color: oklch(51.9% 0.112 118.9);
Tailwind
colors: {
  custom: {
    50: '#92995c',
    500: '#627116',
    950: '#000000',
  },
}
SCSS
$custom: #627116;
$custom-light: #92995c;
$custom-dark: #000000;
JSON
{
  "hex": "#627116",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 69.89,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51874,
    "c": 0.1124,
    "h": 118.9
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#627116
secondary
#4E3CA7
accent
#3EEA5A
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627116

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

Preview Lab → · Contrast checker → · Palette generator →

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