#627C18#627C18

#627C18 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.7% C 0.125 H 123.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#627C18
RGBrgb(98, 124, 24)
HSLhsl(76, 68%, 29%)
HSVhsv(76, 81%, 49%)
CMYKcmyk(21%, 0%, 80.6%, 51.4%)
CIE-LABlab(48.36, -23.75, 47.33)
CIE-LCHlch(48.36, 52.96, 116.65°)
OKLaboklab(54.68% -0.0695 0.1041)
OKLCHoklch(54.68% 0.125 123.7)
XYZxyz(12.4097, 17.0778, 3.5065)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627C18 #32187C
analogous
#7C6418 #627C18 #307C18
triadic
#627C18 #18627C #7C1862
tetradic
#627C18 #187C64 #32187C #7C1830
square
#627C18 #187C64 #32187C #7C1830
split-complementary
#627C18 #18307C #64187C
monochromatic
#141A05 #39490E #627C18 #8BAF22 #AED836

Accessibility & contrast

On white

4.76
#627C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#627C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627C18
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627C18#FFFFFF#000000##FFFFFF
##627C181.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#807322
Tritanopia (blue-blind)
#67756A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #627c18;
/* rgb */ color: rgb(98, 124, 24);
/* oklch */ color: oklch(54.7% 0.125 123.7);
Tailwind
colors: {
  custom: {
    50: '#92a25e',
    500: '#627c18',
    950: '#000000',
  },
}
SCSS
$custom: #627c18;
$custom-light: #92a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#627c18",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 75.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.12516,
    "h": 123.7
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#627C18
secondary
#5D3FB1
accent
#3DEA6A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #627C18

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

Preview Lab → · Contrast checker → · Palette generator →

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