#628D1C#628D1C

#628D1C is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.0% C 0.145 H 129.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#628D1C
RGBrgb(98, 141, 28)
HSLhsl(83, 67%, 33%)
HSVhsv(83, 80%, 55%)
CMYKcmyk(30.5%, 0%, 80.1%, 44.7%)
CIE-LABlab(53.74, -31.78, 51.02)
CIE-LCHlch(53.74, 60.11, 121.92°)
OKLaboklab(59.05% -0.091 0.1125)
OKLCHoklch(59.05% 0.145 129)
XYZxyz(14.7715, 21.7299, 4.5144)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D1C #471C8D
analogous
#8D7F1C #628D1C #298D1C
triadic
#628D1C #1C628D #8D1C62
tetradic
#628D1C #1C8D7F #471C8D #8D1C29
square
#628D1C #1C8D7F #471C8D #8D1C29
split-complementary
#628D1C #1C298D #7F1C8D
monochromatic
#1B2708 #3F5A12 #628D1C #85C026 #A3DB49

Accessibility & contrast

On white

3.93
#628D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#628D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D1C
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D1C#FFFFFF#000000##000000
##628D1C1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#658678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628d1c;
/* rgb */ color: rgb(98, 141, 28);
/* oklch */ color: oklch(59.0% 0.145 129.0);
Tailwind
colors: {
  custom: {
    50: '#93ae63',
    500: '#628d1c',
    950: '#000000',
  },
}
SCSS
$custom: #628d1c;
$custom-light: #93ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#628d1c",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 82.832,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59049,
    "c": 0.14475,
    "h": 129
  },
  "luminance": 0.2173
}

Semantic roles & 50–950 ramp

primary
#628D1C
secondary
#7448BD
accent
#3EEA7F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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