#627C1E#627C1E

#627C1E is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.7% C 0.122 H 124.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#627C1E
RGBrgb(98, 124, 30)
HSLhsl(77, 61%, 30%)
HSVhsv(77, 76%, 49%)
CMYKcmyk(21%, 0%, 75.8%, 51.4%)
CIE-LABlab(48.39, -23.43, 45.25)
CIE-LCHlch(48.39, 50.96, 117.37°)
OKLaboklab(54.71% -0.0681 0.1008)
OKLCHoklch(54.71% 0.122 124.1)
XYZxyz(12.4791, 17.1056, 3.8723)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627C1E #381E7C
analogous
#7C671E #627C1E #337C1E
triadic
#627C1E #1E627C #7C1E62
tetradic
#627C1E #1E7C67 #381E7C #7C1E33
square
#627C1E #1E7C67 #381E7C #7C1E33
split-complementary
#627C1E #1E337C #671E7C
monochromatic
#141906 #3B4B12 #627C1E #89AD2A #AAD143

Accessibility & contrast

On white

4.75
#627C1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#627C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627C1E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627C1E#FFFFFF#000000##FFFFFF
##627C1E1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740B
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#67766A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #627c1e;
/* rgb */ color: rgb(98, 124, 30);
/* oklch */ color: oklch(54.7% 0.122 124.1);
Tailwind
colors: {
  custom: {
    50: '#92a261',
    500: '#627c1e',
    950: '#000000',
  },
}
SCSS
$custom: #627c1e;
$custom-light: #92a261;
$custom-dark: #000000;
JSON
{
  "hex": "#627c1e",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 76.596,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54714,
    "c": 0.12163,
    "h": 124.1
  },
  "luminance": 0.17106
}

Semantic roles & 50–950 ramp

primary
#627C1E
secondary
#6346AF
accent
#44E470
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F05
muted
#7E7E7A

Preview Lab

Preview with #627C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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