#627F11#627F11

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

Color values

HEX#627F11
RGBrgb(98, 127, 17)
HSLhsl(76, 76%, 28%)
HSVhsv(76, 87%, 50%)
CMYKcmyk(22.8%, 0%, 86.6%, 50.2%)
CIE-LABlab(49.27, -25.54, 50.19)
CIE-LCHlch(49.27, 56.32, 116.97°)
OKLaboklab(55.41% -0.0749 0.109)
OKLCHoklch(55.41% 0.132 124.5)
XYZxyz(12.7277, 17.8157, 3.2984)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F11 #2E117F
analogous
#7F6511 #627F11 #2B7F11
triadic
#627F11 #11627F #7F1162
tetradic
#627F11 #117F65 #2E117F #7F112B
square
#627F11 #117F65 #2E117F #7F112B
split-complementary
#627F11 #112B7F #65117F
monochromatic
#151B04 #38490A #627F11 #8CB518 #B1E228

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627F11#FFFFFF#000000##FFFFFF
##627F111.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)
#83751E
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f11;
/* rgb */ color: rgb(98, 127, 17);
/* oklch */ color: oklch(55.4% 0.132 124.5);
Tailwind
colors: {
  custom: {
    50: '#92a45c',
    500: '#627f11',
    950: '#000000',
  },
}
SCSS
$custom: #627f11;
$custom-light: #92a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#627f11",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 75.818,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.13221,
    "h": 124.5
  },
  "luminance": 0.17816
}

Semantic roles & 50–950 ramp

primary
#627F11
secondary
#5837B5
accent
#35F367
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627F11

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

Preview Lab → · Contrast checker → · Palette generator →

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