#627B16#627B16

#627B16 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.4% C 0.125 H 123.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#627B16
RGBrgb(98, 123, 22)
HSLhsl(75, 70%, 28%)
HSVhsv(75, 82%, 48%)
CMYKcmyk(20.3%, 0%, 82.1%, 51.8%)
CIE-LABlab(48.03, -23.34, 47.67)
CIE-LCHlch(48.03, 53.08, 116.08°)
OKLaboklab(54.41% -0.0685 0.1045)
OKLCHoklch(54.41% 0.125 123.3)
XYZxyz(12.2649, 16.8204, 3.3594)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627B16 #2F167B
analogous
#7B6116 #627B16 #307B16
triadic
#627B16 #16627B #7B1662
tetradic
#627B16 #167B61 #2F167B #7B1630
square
#627B16 #167B61 #2F167B #7B1630
split-complementary
#627B16 #16307B #61167B
monochromatic
#151A05 #39470D #627B16 #8BAF1F #B0DA31

Accessibility & contrast

On white

4.81
#627B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#627B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627B16
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627B16#FFFFFF#000000##FFFFFF
##627B161.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7F7221
Tritanopia (blue-blind)
#677469
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627b16;
/* rgb */ color: rgb(98, 123, 22);
/* oklch */ color: oklch(54.4% 0.125 123.3);
Tailwind
colors: {
  custom: {
    50: '#92a15d',
    500: '#627b16',
    950: '#000000',
  },
}
SCSS
$custom: #627b16;
$custom-light: #92a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#627b16",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 74.851,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54409,
    "c": 0.12494,
    "h": 123.3
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#627B16
secondary
#593DB0
accent
#3BEC67
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #627B16

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

Preview Lab → · Contrast checker → · Palette generator →

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