#627F13#627F13

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

Color values

HEX#627F13
RGBrgb(98, 127, 19)
HSLhsl(76, 74%, 29%)
HSVhsv(76, 85%, 50%)
CMYKcmyk(22.8%, 0%, 85%, 50.2%)
CIE-LABlab(49.28, -25.46, 49.67)
CIE-LCHlch(49.28, 55.81, 117.14°)
OKLaboklab(55.41% -0.0745 0.1082)
OKLCHoklch(55.41% 0.131 124.6)
XYZxyz(12.7441, 17.8223, 3.3846)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F13 #30137F
analogous
#7F6613 #627F13 #2C7F13
triadic
#627F13 #13627F #7F1362
tetradic
#627F13 #137F66 #30137F #7F132C
square
#627F13 #137F66 #30137F #7F132C
split-complementary
#627F13 #132C7F #66137F
monochromatic
#151B04 #394A0B #627F13 #8BB41B #B0E02D

Accessibility & contrast

On white

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

On black

4.56
#627F13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##627F13#FFFFFF#000000##FFFFFF
##627F131.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f13;
/* rgb */ color: rgb(98, 127, 19);
/* oklch */ color: oklch(55.4% 0.131 124.6);
Tailwind
colors: {
  custom: {
    50: '#92a45d',
    500: '#627f13',
    950: '#000000',
  },
}
SCSS
$custom: #627f13;
$custom-light: #92a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#627f13",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 76.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55414,
    "c": 0.13137,
    "h": 124.6
  },
  "luminance": 0.17822
}

Semantic roles & 50–950 ramp

primary
#627F13
secondary
#5A39B4
accent
#37F169
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627F13

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

Preview Lab → · Contrast checker → · Palette generator →

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