#627E1B#627E1B

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

Color values

HEX#627E1B
RGBrgb(98, 126, 27)
HSLhsl(77, 65%, 30%)
HSVhsv(77, 79%, 49%)
CMYKcmyk(22.2%, 0%, 78.6%, 50.6%)
CIE-LABlab(49.00, -24.60, 46.92)
CIE-LCHlch(49.00, 52.98, 117.67°)
OKLaboklab(55.2% -0.0716 0.1038)
OKLCHoklch(55.2% 0.126 124.6)
XYZxyz(12.6958, 17.5974, 3.7645)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E1B #371B7E
analogous
#7E691B #627E1B #307E1B
triadic
#627E1B #1B627E #7E1B62
tetradic
#627E1B #1B7E69 #371B7E #7E1B30
square
#627E1B #1B7E69 #371B7E #7E1B30
split-complementary
#627E1B #1B307E #691B7E
monochromatic
#141905 #3B4C10 #627E1B #89B026 #ABD63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627E1B#FFFFFF#000000##FFFFFF
##627E1B1.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)
#857503
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#67786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627e1b;
/* rgb */ color: rgb(98, 126, 27);
/* oklch */ color: oklch(55.2% 0.126 124.6);
Tailwind
colors: {
  custom: {
    50: '#92a360',
    500: '#627e1b',
    950: '#000000',
  },
}
SCSS
$custom: #627e1b;
$custom-light: #92a360;
$custom-dark: #000000;
JSON
{
  "hex": "#627e1b",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 76.97,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.12605,
    "h": 124.6
  },
  "luminance": 0.17598
}

Semantic roles & 50–950 ramp

primary
#627E1B
secondary
#6243B2
accent
#40E870
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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