#627F1D#627F1D

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

Color values

HEX#627F1D
RGBrgb(98, 127, 29)
HSLhsl(78, 63%, 31%)
HSVhsv(78, 77%, 50%)
CMYKcmyk(22.8%, 0%, 77.2%, 50.2%)
CIE-LABlab(49.33, -24.99, 46.52)
CIE-LCHlch(49.33, 52.81, 118.24°)
OKLaboklab(55.47% -0.0725 0.1033)
OKLCHoklch(55.47% 0.126 125.1)
XYZxyz(12.8483, 17.8640, 3.9334)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F1D #3A1D7F
analogous
#7F6B1D #627F1D #317F1D
triadic
#627F1D #1D627F #7F1D62
tetradic
#627F1D #1D7F6B #3A1D7F #7F1D31
square
#627F1D #1D7F6B #3A1D7F #7F1D31
split-complementary
#627F1D #1D317F #6B1D7F
monochromatic
#151B06 #3C4D12 #627F1D #88B128 #A9D442

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627F1D#FFFFFF#000000##FFFFFF
##627F1D1.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)
#867607
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#67796C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f1d;
/* rgb */ color: rgb(98, 127, 29);
/* oklch */ color: oklch(55.5% 0.126 125.1);
Tailwind
colors: {
  custom: {
    50: '#92a461',
    500: '#627f1d',
    950: '#000000',
  },
}
SCSS
$custom: #627f1d;
$custom-light: #92a461;
$custom-dark: #000000;
JSON
{
  "hex": "#627f1d",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 77.755,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55471,
    "c": 0.12616,
    "h": 125.1
  },
  "luminance": 0.17864
}

Semantic roles & 50–950 ramp

primary
#627F1D
secondary
#6645B2
accent
#42E672
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #627F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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