#628E1C#628E1C

#628E1C is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.3% C 0.146 H 129.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#628E1C
RGBrgb(98, 142, 28)
HSLhsl(83, 67%, 33%)
HSVhsv(83, 80%, 56%)
CMYKcmyk(31%, 0%, 80.3%, 44.3%)
CIE-LABlab(54.05, -32.24, 51.31)
CIE-LCHlch(54.05, 60.60, 122.14°)
OKLaboklab(59.31% -0.0923 0.1132)
OKLCHoklch(59.31% 0.146 129.2)
XYZxyz(14.9196, 22.0261, 4.5638)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E1C #481C8E
analogous
#8E811C #628E1C #298E1C
triadic
#628E1C #1C628E #8E1C62
tetradic
#628E1C #1C8E81 #481C8E #8E1C29
square
#628E1C #1C8E81 #481C8E #8E1C29
split-complementary
#628E1C #1C298E #811C8E
monochromatic
#1B2808 #3F5B12 #628E1C #85C126 #A3DB49

Accessibility & contrast

On white

3.89
#628E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#628E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E1C
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E1C#FFFFFF#000000##000000
##628E1C1.003.895.415.41
#FFFFFF3.891.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#658779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e1c;
/* rgb */ color: rgb(98, 142, 28);
/* oklch */ color: oklch(59.3% 0.146 129.2);
Tailwind
colors: {
  custom: {
    50: '#93af63',
    500: '#628e1c',
    950: '#000000',
  },
}
SCSS
$custom: #628e1c;
$custom-light: #93af63;
$custom-dark: #000000;
JSON
{
  "hex": "#628e1c",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 83.158,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59306,
    "c": 0.14602,
    "h": 129.2
  },
  "luminance": 0.22027
}

Semantic roles & 50–950 ramp

primary
#628E1C
secondary
#7649BD
accent
#3EEA80
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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