#627D18#627D18

#627D18 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.9% C 0.126 H 124.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#627D18
RGBrgb(98, 125, 24)
HSLhsl(76, 68%, 29%)
HSVhsv(76, 81%, 49%)
CMYKcmyk(21.6%, 0%, 80.8%, 51%)
CIE-LABlab(48.67, -24.25, 47.62)
CIE-LCHlch(48.67, 53.44, 116.99°)
OKLaboklab(54.93% -0.0709 0.1047)
OKLCHoklch(54.93% 0.126 124.1)
XYZxyz(12.5356, 17.3297, 3.5485)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D18 #33187D
analogous
#7D6618 #627D18 #2F7D18
triadic
#627D18 #18627D #7D1862
tetradic
#627D18 #187D66 #33187D #7D182F
square
#627D18 #187D66 #33187D #7D182F
split-complementary
#627D18 #182F7D #66187D
monochromatic
#141A05 #3A4A0E #627D18 #8AB022 #ADD937

Accessibility & contrast

On white

4.70
#627D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#627D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627D18
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627D18#FFFFFF#000000##FFFFFF
##627D181.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#817322
Tritanopia (blue-blind)
#67766A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627d18;
/* rgb */ color: rgb(98, 125, 24);
/* oklch */ color: oklch(54.9% 0.126 124.1);
Tailwind
colors: {
  custom: {
    50: '#92a25e',
    500: '#627d18',
    950: '#000000',
  },
}
SCSS
$custom: #627d18;
$custom-light: #92a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#627d18",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 76.04,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5493,
    "c": 0.12644,
    "h": 124.1
  },
  "luminance": 0.1733
}

Semantic roles & 50–950 ramp

primary
#627D18
secondary
#5E3FB2
accent
#3DEB6C
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627D18

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

Preview Lab → · Contrast checker → · Palette generator →

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