#627E1D#627E1D

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

Color values

HEX#627E1D
RGBrgb(98, 126, 29)
HSLhsl(77, 63%, 30%)
HSVhsv(77, 77%, 49%)
CMYKcmyk(22.2%, 0%, 77%, 50.6%)
CIE-LABlab(49.02, -24.49, 46.22)
CIE-LCHlch(49.02, 52.31, 117.92°)
OKLaboklab(55.22% -0.0711 0.1026)
OKLCHoklch(55.22% 0.125 124.7)
XYZxyz(12.7197, 17.6070, 3.8905)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E1D #391D7E
analogous
#7E6A1D #627E1D #317E1D
triadic
#627E1D #1D627E #7E1D62
tetradic
#627E1D #1D7E6A #391D7E #7E1D31
square
#627E1D #1D7E6A #391D7E #7E1D31
split-complementary
#627E1D #1D317E #6A1D7E
monochromatic
#151B06 #3B4C12 #627E1D #89B028 #A9D342

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627E1D#FFFFFF#000000##FFFFFF
##627E1D1.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)
#857508
Deuteranopia (green-blind)
#827426
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627e1d;
/* rgb */ color: rgb(98, 126, 29);
/* oklch */ color: oklch(55.2% 0.125 124.7);
Tailwind
colors: {
  custom: {
    50: '#92a361',
    500: '#627e1d',
    950: '#000000',
  },
}
SCSS
$custom: #627e1d;
$custom-light: #92a361;
$custom-dark: #000000;
JSON
{
  "hex": "#627e1d",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 77.32,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55216,
    "c": 0.12486,
    "h": 124.7
  },
  "luminance": 0.17607
}

Semantic roles & 50–950 ramp

primary
#627E1D
secondary
#6545B1
accent
#42E671
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #627E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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