#627F18#627F18

#627F18 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.4% C 0.129 H 124.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#627F18
RGBrgb(98, 127, 24)
HSLhsl(77, 68%, 30%)
HSVhsv(77, 81%, 50%)
CMYKcmyk(22.8%, 0%, 81.1%, 50.2%)
CIE-LABlab(49.30, -25.25, 48.20)
CIE-LCHlch(49.30, 54.41, 117.65°)
OKLaboklab(55.44% -0.0736 0.1059)
OKLCHoklch(55.44% 0.129 124.8)
XYZxyz(12.7914, 17.8412, 3.6338)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F18 #35187F
analogous
#7F6918 #627F18 #2F7F18
triadic
#627F18 #18627F #7F1862
tetradic
#627F18 #187F69 #35187F #7F182F
square
#627F18 #187F69 #35187F #7F182F
split-complementary
#627F18 #182F7F #69187F
monochromatic
#141A05 #3A4C0E #627F18 #8AB222 #ACD938

Accessibility & contrast

On white

4.60
#627F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#627F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627F18
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F18#FFFFFF#000000##FFFFFF
##627F181.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f18;
/* rgb */ color: rgb(98, 127, 24);
/* oklch */ color: oklch(55.4% 0.129 124.8);
Tailwind
colors: {
  custom: {
    50: '#92a45f',
    500: '#627f18',
    950: '#000000',
  },
}
SCSS
$custom: #627f18;
$custom-light: #92a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#627f18",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 76.893,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5544,
    "c": 0.12898,
    "h": 124.8
  },
  "luminance": 0.17841
}

Semantic roles & 50–950 ramp

primary
#627F18
secondary
#603FB3
accent
#3DEB6E
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627F18

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

Preview Lab → · Contrast checker → · Palette generator →

#627F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva