#628B1C#628B1C

#628B1C is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.5% C 0.142 H 128.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#628B1C
RGBrgb(98, 139, 28)
HSLhsl(82, 66%, 33%)
HSVhsv(82, 80%, 55%)
CMYKcmyk(29.5%, 0%, 79.9%, 45.5%)
CIE-LABlab(53.11, -30.84, 50.43)
CIE-LCHlch(53.11, 59.12, 121.45°)
OKLaboklab(58.54% -0.0885 0.1113)
OKLCHoklch(58.54% 0.142 128.5)
XYZxyz(14.4792, 21.1454, 4.4170)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B1C #451C8B
analogous
#8B7C1C #628B1C #2B8B1C
triadic
#628B1C #1C628B #8B1C62
tetradic
#628B1C #1C8B7C #451C8B #8B1C2B
square
#628B1C #1C8B7C #451C8B #8B1C2B
split-complementary
#628B1C #1C2B8B #7C1C8B
monochromatic
#1A2507 #3E5812 #628B1C #86BE26 #A4DA47

Accessibility & contrast

On white

4.02
#628B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#628B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B1C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B1C#FFFFFF#000000##000000
##628B1C1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#658476
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b1c;
/* rgb */ color: rgb(98, 139, 28);
/* oklch */ color: oklch(58.5% 0.142 128.5);
Tailwind
colors: {
  custom: {
    50: '#93ad62',
    500: '#628b1c',
    950: '#000000',
  },
}
SCSS
$custom: #628b1c;
$custom-light: #93ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#628b1c",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 82.162,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58536,
    "c": 0.1422,
    "h": 128.5
  },
  "luminance": 0.21146
}

Semantic roles & 50–950 ramp

primary
#628B1C
secondary
#7247BC
accent
#3EE97E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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