#627118#627118

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

Color values

HEX#627118
RGBrgb(98, 113, 24)
HSLhsl(70, 65%, 27%)
HSVhsv(70, 79%, 44%)
CMYKcmyk(13.3%, 0%, 78.8%, 55.7%)
CIE-LABlab(44.90, -18.07, 44.12)
CIE-LCHlch(44.90, 47.67, 112.27°)
OKLaboklab(51.89% -0.0539 0.0973)
OKLCHoklch(51.89% 0.111 119)
XYZxyz(11.1072, 14.4730, 3.0724)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627118 #271871
analogous
#715418 #627118 #367118
triadic
#627118 #186271 #711862
tetradic
#627118 #187154 #271871 #711836
square
#627118 #187154 #271871 #711836
split-complementary
#627118 #183671 #541871
monochromatic
#161905 #363F0D #627118 #8EA323 #B8D330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627118#FFFFFF#000000##FFFFFF
##6271181.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)
#796A04
Deuteranopia (green-blind)
#776B20
Tritanopia (blue-blind)
#686A60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #627118;
/* rgb */ color: rgb(98, 113, 24);
/* oklch */ color: oklch(51.9% 0.111 119.0);
Tailwind
colors: {
  custom: {
    50: '#92995d',
    500: '#627118',
    950: '#000000',
  },
}
SCSS
$custom: #627118;
$custom-light: #92995d;
$custom-dark: #000000;
JSON
{
  "hex": "#627118",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 70.112,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.11125,
    "h": 119
  },
  "luminance": 0.14473
}

Semantic roles & 50–950 ramp

primary
#627118
secondary
#503EA6
accent
#40E85C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627118

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

Preview Lab → · Contrast checker → · Palette generator →

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