#628C1C#628C1C

#628C1C is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.8% C 0.143 H 128.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#628C1C
RGBrgb(98, 140, 28)
HSLhsl(83, 67%, 33%)
HSVhsv(83, 80%, 55%)
CMYKcmyk(30%, 0%, 80%, 45.1%)
CIE-LABlab(53.42, -31.31, 50.73)
CIE-LCHlch(53.42, 59.61, 121.69°)
OKLaboklab(58.79% -0.0898 0.1119)
OKLCHoklch(58.79% 0.143 128.7)
XYZxyz(14.6247, 21.4363, 4.4655)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C1C #461C8C
analogous
#8C7E1C #628C1C #2A8C1C
triadic
#628C1C #1C628C #8C1C62
tetradic
#628C1C #1C8C7E #461C8C #8C1C2A
square
#628C1C #1C8C7E #461C8C #8C1C2A
split-complementary
#628C1C #1C2A8C #7E1C8C
monochromatic
#1B2608 #3E5912 #628C1C #86BF26 #A3DA48

Accessibility & contrast

On white

3.97
#628C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#628C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C1C
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C1C#FFFFFF#000000##000000
##628C1C1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#658577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c1c;
/* rgb */ color: rgb(98, 140, 28);
/* oklch */ color: oklch(58.8% 0.143 128.7);
Tailwind
colors: {
  custom: {
    50: '#93ae62',
    500: '#628c1c',
    950: '#000000',
  },
}
SCSS
$custom: #628c1c;
$custom-light: #93ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#628c1c",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 82.5,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58792,
    "c": 0.14348,
    "h": 128.7
  },
  "luminance": 0.21437
}

Semantic roles & 50–950 ramp

primary
#628C1C
secondary
#7348BC
accent
#3EEA7E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628C1C

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

Preview Lab → · Contrast checker → · Palette generator →

#628C1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva