#628A1C#628A1C

#628A1C is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.3% C 0.141 H 128.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#628A1C
RGBrgb(98, 138, 28)
HSLhsl(82, 66%, 33%)
HSVhsv(82, 80%, 54%)
CMYKcmyk(29%, 0%, 79.7%, 45.9%)
CIE-LABlab(52.79, -30.37, 50.14)
CIE-LCHlch(52.79, 58.62, 121.21°)
OKLaboklab(58.28% -0.0872 0.1107)
OKLCHoklch(58.28% 0.141 128.2)
XYZxyz(14.3351, 20.8571, 4.3689)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A1C #441C8A
analogous
#8A7B1C #628A1C #2B8A1C
triadic
#628A1C #1C628A #8A1C62
tetradic
#628A1C #1C8A7B #441C8A #8A1C2B
square
#628A1C #1C8A7B #441C8A #8A1C2B
split-complementary
#628A1C #1C2B8A #7B1C8A
monochromatic
#1A2407 #3E5712 #628A1C #86BD26 #A4DA47

Accessibility & contrast

On white

4.06
#628A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#628A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A1C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A1C#FFFFFF#000000##000000
##628A1C1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#8C7D27
Tritanopia (blue-blind)
#668376
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a1c;
/* rgb */ color: rgb(98, 138, 28);
/* oklch */ color: oklch(58.3% 0.141 128.2);
Tailwind
colors: {
  custom: {
    50: '#93ac62',
    500: '#628a1c',
    950: '#000000',
  },
}
SCSS
$custom: #628a1c;
$custom-light: #93ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#628a1c",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 81.818,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58279,
    "c": 0.14092,
    "h": 128.2
  },
  "luminance": 0.20857
}

Semantic roles & 50–950 ramp

primary
#628A1C
secondary
#7146BB
accent
#3FE97D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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