#628F1A#628F1A

#628F1A is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.6% C 0.148 H 129.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#628F1A
RGBrgb(98, 143, 26)
HSLhsl(83, 69%, 33%)
HSVhsv(83, 82%, 56%)
CMYKcmyk(31.5%, 0%, 81.8%, 43.9%)
CIE-LABlab(54.36, -32.80, 52.21)
CIE-LCHlch(54.36, 61.65, 122.14°)
OKLaboklab(59.55% -0.0939 0.1147)
OKLCHoklch(59.55% 0.148 129.3)
XYZxyz(15.0459, 22.3157, 4.4917)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F1A #471A8F
analogous
#8F811A #628F1A #278F1A
triadic
#628F1A #1A628F #8F1A62
tetradic
#628F1A #1A8F81 #471A8F #8F1A27
square
#628F1A #1A8F81 #471A8F #8F1A27
split-complementary
#628F1A #1A278F #811A8F
monochromatic
#1B2707 #3F5B11 #628F1A #85C323 #A3DD46

Accessibility & contrast

On white

3.84
#628F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#628F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F1A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F1A#FFFFFF#000000##000000
##628F1A1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#65887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f1a;
/* rgb */ color: rgb(98, 143, 26);
/* oklch */ color: oklch(59.6% 0.148 129.3);
Tailwind
colors: {
  custom: {
    50: '#93b062',
    500: '#628f1a',
    950: '#000000',
  },
}
SCSS
$custom: #628f1a;
$custom-light: #93b062;
$custom-dark: #000000;
JSON
{
  "hex": "#628f1a",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 83.077,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59552,
    "c": 0.14827,
    "h": 129.3
  },
  "luminance": 0.22316
}

Semantic roles & 50–950 ramp

primary
#628F1A
secondary
#7446BF
accent
#3CEC80
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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