#627A15#627A15

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

Color values

HEX#627A15
RGBrgb(98, 122, 21)
HSLhsl(74, 71%, 28%)
HSVhsv(74, 83%, 48%)
CMYKcmyk(19.7%, 0%, 82.8%, 52.2%)
CIE-LABlab(47.71, -22.88, 47.69)
CIE-LCHlch(47.71, 52.90, 115.63°)
OKLaboklab(54.15% -0.0674 0.1043)
OKLCHoklch(54.15% 0.124 122.9)
XYZxyz(12.1321, 16.5698, 3.2685)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A15 #2D157A
analogous
#7A5F15 #627A15 #307A15
triadic
#627A15 #15627A #7A1562
tetradic
#627A15 #157A5F #2D157A #7A1530
square
#627A15 #157A5F #2D157A #7A1530
split-complementary
#627A15 #15307A #5F157A
monochromatic
#151A04 #38460C #627A15 #8CAE1E #B2DB2E

Accessibility & contrast

On white

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

On black

4.31
#627A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##627A15#FFFFFF#000000##FFFFFF
##627A151.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #627a15;
/* rgb */ color: rgb(98, 122, 21);
/* oklch */ color: oklch(54.1% 0.124 122.9);
Tailwind
colors: {
  custom: {
    50: '#92a05d',
    500: '#627a15',
    950: '#000000',
  },
}
SCSS
$custom: #627a15;
$custom-light: #92a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#627a15",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 74.257,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.12418,
    "h": 122.9
  },
  "luminance": 0.1657
}

Semantic roles & 50–950 ramp

primary
#627A15
secondary
#573BAF
accent
#3AED65
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #627A15

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

Preview Lab → · Contrast checker → · Palette generator →

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