#627612#627612

#627612 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 53.1% C 0.121 H 121.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#627612
RGBrgb(98, 118, 18)
HSLhsl(72, 74%, 27%)
HSVhsv(72, 85%, 46%)
CMYKcmyk(16.9%, 0%, 84.7%, 53.7%)
CIE-LABlab(46.44, -20.95, 47.45)
CIE-LCHlch(46.44, 51.87, 113.83°)
OKLaboklab(53.12% -0.0623 0.1033)
OKLCHoklch(53.12% 0.121 121.1)
XYZxyz(11.6248, 15.5972, 2.9703)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627612 #261276
analogous
#765812 #627612 #307612
triadic
#627612 #126276 #761262
tetradic
#627612 #127658 #261276 #761230
square
#627612 #127658 #261276 #761230
split-complementary
#627612 #123076 #581276
monochromatic
#161B04 #36410A #627612 #8EAB1A #B9DE25

Accessibility & contrast

On white

5.10
#627612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#627612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627612
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627612#FFFFFF#000000##FFFFFF
##6276121.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#7B6E1D
Tritanopia (blue-blind)
#686F64
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #627612;
/* rgb */ color: rgb(98, 118, 18);
/* oklch */ color: oklch(53.1% 0.121 121.1);
Tailwind
colors: {
  custom: {
    50: '#929d5b',
    500: '#627612',
    950: '#000000',
  },
}
SCSS
$custom: #627612;
$custom-light: #929d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#627612",
  "rgb": {
    "r": 98,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 72,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.53117,
    "c": 0.12062,
    "h": 121.1
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#627612
secondary
#4F37AD
accent
#38F05D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627612

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

Preview Lab → · Contrast checker → · Palette generator →

#627612 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva