#627E1F#627E1F

#627E1F is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.2% C 0.124 H 124.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#627E1F
RGBrgb(98, 126, 31)
HSLhsl(78, 61%, 31%)
HSVhsv(78, 75%, 49%)
CMYKcmyk(22.2%, 0%, 75.4%, 50.6%)
CIE-LABlab(49.03, -24.37, 45.49)
CIE-LCHlch(49.03, 51.61, 118.18°)
OKLaboklab(55.23% -0.0706 0.1014)
OKLCHoklch(55.23% 0.124 124.8)
XYZxyz(12.7453, 17.6172, 4.0250)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E1F #3B1F7E
analogous
#7E6A1F #627E1F #327E1F
triadic
#627E1F #1F627E #7E1F62
tetradic
#627E1F #1F7E6A #3B1F7E #7E1F32
square
#627E1F #1F7E6A #3B1F7E #7E1F32
split-complementary
#627E1F #1F327E #6A1F7E
monochromatic
#161C07 #3C4D13 #627E1F #88AF2B #A8D146

Accessibility & contrast

On white

4.64
#627E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#627E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E1F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E1F#FFFFFF#000000##FFFFFF
##627E1F1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750D
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627e1f;
/* rgb */ color: rgb(98, 126, 31);
/* oklch */ color: oklch(55.2% 0.124 124.8);
Tailwind
colors: {
  custom: {
    50: '#92a362',
    500: '#627e1f',
    950: '#000000',
  },
}
SCSS
$custom: #627e1f;
$custom-light: #92a362;
$custom-dark: #000000;
JSON
{
  "hex": "#627e1f",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 77.684,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5523,
    "c": 0.12361,
    "h": 124.8
  },
  "luminance": 0.17617
}

Semantic roles & 50–950 ramp

primary
#627E1F
secondary
#6748B1
accent
#44E473
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #627E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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