#628A1E#628A1E

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

Color values

HEX#628A1E
RGBrgb(98, 138, 30)
HSLhsl(82, 64%, 33%)
HSVhsv(82, 78%, 54%)
CMYKcmyk(29%, 0%, 78.3%, 45.9%)
CIE-LABlab(52.80, -30.27, 49.48)
CIE-LCHlch(52.80, 58.01, 121.45°)
OKLaboklab(58.29% -0.0868 0.1097)
OKLCHoklch(58.29% 0.14 128.4)
XYZxyz(14.3598, 20.8670, 4.4992)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A1E #461E8A
analogous
#8A7C1E #628A1E #2C8A1E
triadic
#628A1E #1E628A #8A1E62
tetradic
#628A1E #1E8A7C #461E8A #8A1E2C
square
#628A1E #1E8A7C #461E8A #8A1E2C
split-complementary
#628A1E #1E2C8A #7C1E8A
monochromatic
#1B2508 #3E5813 #628A1E #86BC29 #A4D84B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628A1E#FFFFFF#000000##000000
##628A1E1.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)
#918003
Deuteranopia (green-blind)
#8C7D29
Tritanopia (blue-blind)
#668476
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a1e;
/* rgb */ color: rgb(98, 138, 30);
/* oklch */ color: oklch(58.3% 0.140 128.4);
Tailwind
colors: {
  custom: {
    50: '#92ac63',
    500: '#628a1e',
    950: '#000000',
  },
}
SCSS
$custom: #628a1e;
$custom-light: #92ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#628a1e",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 82.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58291,
    "c": 0.13984,
    "h": 128.4
  },
  "luminance": 0.20867
}

Semantic roles & 50–950 ramp

primary
#628A1E
secondary
#734ABA
accent
#41E77E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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