#627E1A#627E1A

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

Color values

HEX#627E1A
RGBrgb(98, 126, 26)
HSLhsl(77, 66%, 30%)
HSVhsv(77, 79%, 49%)
CMYKcmyk(22.2%, 0%, 79.4%, 50.6%)
CIE-LABlab(49.00, -24.65, 47.26)
CIE-LCHlch(49.00, 53.30, 117.55°)
OKLaboklab(55.2% -0.0718 0.1043)
OKLCHoklch(55.2% 0.127 124.6)
XYZxyz(12.6844, 17.5928, 3.7046)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E1A #361A7E
analogous
#7E681A #627E1A #307E1A
triadic
#627E1A #1A627E #7E1A62
tetradic
#627E1A #1A7E68 #361A7E #7E1A30
square
#627E1A #1A7E68 #361A7E #7E1A30
split-complementary
#627E1A #1A307E #681A7E
monochromatic
#141905 #3B4B10 #627E1A #89B124 #ABD73C

Accessibility & contrast

On white

4.65
#627E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #627E1A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E1A#FFFFFF#000000##FFFFFF
##627E1A1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857501
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#67786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627e1a;
/* rgb */ color: rgb(98, 126, 26);
/* oklch */ color: oklch(55.2% 0.127 124.6);
Tailwind
colors: {
  custom: {
    50: '#92a35f',
    500: '#627e1a',
    950: '#000000',
  },
}
SCSS
$custom: #627e1a;
$custom-light: #92a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#627e1a",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 76.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55197,
    "c": 0.12662,
    "h": 124.6
  },
  "luminance": 0.17593
}

Semantic roles & 50–950 ramp

primary
#627E1A
secondary
#6142B2
accent
#3FE96F
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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