#627F1B#627F1B

#627F1B is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.127 H 125.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#627F1B
RGBrgb(98, 127, 27)
HSLhsl(77, 65%, 30%)
HSVhsv(77, 79%, 50%)
CMYKcmyk(22.8%, 0%, 78.7%, 50.2%)
CIE-LABlab(49.32, -25.10, 47.22)
CIE-LCHlch(49.32, 53.47, 117.99°)
OKLaboklab(55.46% -0.0729 0.1044)
OKLCHoklch(55.46% 0.127 125)
XYZxyz(12.8243, 17.8544, 3.8073)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F1B #381B7F
analogous
#7F6A1B #627F1B #307F1B
triadic
#627F1B #1B627F #7F1B62
tetradic
#627F1B #1B7F6A #381B7F #7F1B30
square
#627F1B #1B7F6A #381B7F #7F1B30
split-complementary
#627F1B #1B307F #6A1B7F
monochromatic
#141A06 #3B4D10 #627F1B #89B126 #AAD63E

Accessibility & contrast

On white

4.59
#627F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#627F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627F1B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F1B#FFFFFF#000000##FFFFFF
##627F1B1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867603
Deuteranopia (green-blind)
#827525
Tritanopia (blue-blind)
#67796C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f1b;
/* rgb */ color: rgb(98, 127, 27);
/* oklch */ color: oklch(55.5% 0.127 125.0);
Tailwind
colors: {
  custom: {
    50: '#92a460',
    500: '#627f1b',
    950: '#000000',
  },
}
SCSS
$custom: #627f1b;
$custom-light: #92a460;
$custom-dark: #000000;
JSON
{
  "hex": "#627f1b",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 77.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55458,
    "c": 0.12734,
    "h": 125
  },
  "luminance": 0.17855
}

Semantic roles & 50–950 ramp

primary
#627F1B
secondary
#6343B3
accent
#40E871
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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