#627F1C#627F1C

#627F1C 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#627F1C
RGBrgb(98, 127, 28)
HSLhsl(78, 64%, 30%)
HSVhsv(78, 78%, 50%)
CMYKcmyk(22.8%, 0%, 78%, 50.2%)
CIE-LABlab(49.32, -25.04, 46.88)
CIE-LCHlch(49.32, 53.15, 118.11°)
OKLaboklab(55.46% -0.0727 0.1038)
OKLCHoklch(55.46% 0.127 125)
XYZxyz(12.8361, 17.8591, 3.8693)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F1C #391C7F
analogous
#7F6A1C #627F1C #307F1C
triadic
#627F1C #1C627F #7F1C62
tetradic
#627F1C #1C7F6A #391C7F #7F1C30
square
#627F1C #1C7F6A #391C7F #7F1C30
split-complementary
#627F1C #1C307F #6A1C7F
monochromatic
#151B06 #3B4D11 #627F1C #89B127 #A9D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627F1C#FFFFFF#000000##FFFFFF
##627F1C1.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)
#867605
Deuteranopia (green-blind)
#827525
Tritanopia (blue-blind)
#67796C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f1c;
/* rgb */ color: rgb(98, 127, 28);
/* oklch */ color: oklch(55.5% 0.127 125.0);
Tailwind
colors: {
  custom: {
    50: '#92a461',
    500: '#627f1c',
    950: '#000000',
  },
}
SCSS
$custom: #627f1c;
$custom-light: #92a461;
$custom-dark: #000000;
JSON
{
  "hex": "#627f1c",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 77.576,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55464,
    "c": 0.12675,
    "h": 125
  },
  "luminance": 0.17859
}

Semantic roles & 50–950 ramp

primary
#627F1C
secondary
#6544B3
accent
#41E772
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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