#627A18#627A18

#627A18 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.2% C 0.123 H 123.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#627A18
RGBrgb(98, 122, 24)
HSLhsl(75, 67%, 29%)
HSVhsv(75, 80%, 48%)
CMYKcmyk(19.7%, 0%, 80.3%, 52.2%)
CIE-LABlab(47.73, -22.74, 46.75)
CIE-LCHlch(47.73, 51.99, 115.94°)
OKLaboklab(54.17% -0.0667 0.1029)
OKLCHoklch(54.17% 0.123 123)
XYZxyz(12.1616, 16.5816, 3.4238)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A18 #30187A
analogous
#7A6118 #627A18 #317A18
triadic
#627A18 #18627A #7A1862
tetradic
#627A18 #187A61 #30187A #7A1831
square
#627A18 #187A61 #30187A #7A1831
split-complementary
#627A18 #18317A #61187A
monochromatic
#151A05 #39470E #627A18 #8BAD22 #B0D735

Accessibility & contrast

On white

4.87
#627A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#627A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627A18
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627A18#FFFFFF#000000##FFFFFF
##627A181.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#677368
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #627a18;
/* rgb */ color: rgb(98, 122, 24);
/* oklch */ color: oklch(54.2% 0.123 123.0);
Tailwind
colors: {
  custom: {
    50: '#92a05e',
    500: '#627a18',
    950: '#000000',
  },
}
SCSS
$custom: #627a18;
$custom-light: #92a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#627a18",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 74.694,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54166,
    "c": 0.12261,
    "h": 123
  },
  "luminance": 0.16582
}

Semantic roles & 50–950 ramp

primary
#627A18
secondary
#5A3FAF
accent
#3EEA68
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #627A18

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

Preview Lab → · Contrast checker → · Palette generator →

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