#628E1E#628E1E

#628E1E is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.3% C 0.145 H 129.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#628E1E
RGBrgb(98, 142, 30)
HSLhsl(84, 65%, 34%)
HSVhsv(84, 79%, 56%)
CMYKcmyk(31%, 0%, 78.9%, 44.3%)
CIE-LABlab(54.07, -32.14, 50.67)
CIE-LCHlch(54.07, 60.01, 122.38°)
OKLaboklab(59.32% -0.0919 0.1122)
OKLCHoklch(59.32% 0.145 129.3)
XYZxyz(14.9443, 22.0360, 4.6940)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E1E #4A1E8E
analogous
#8E821E #628E1E #2A8E1E
triadic
#628E1E #1E628E #8E1E62
tetradic
#628E1E #1E8E82 #4A1E8E #8E1E2A
square
#628E1E #1E8E82 #4A1E8E #8E1E2A
split-complementary
#628E1E #1E2A8E #821E8E
monochromatic
#1C2909 #3F5B13 #628E1E #85C129 #A2D94D

Accessibility & contrast

On white

3.88
#628E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#628E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E1E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E1E#FFFFFF#000000##000000
##628E1E1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958301
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#658779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e1e;
/* rgb */ color: rgb(98, 142, 30);
/* oklch */ color: oklch(59.3% 0.145 129.3);
Tailwind
colors: {
  custom: {
    50: '#93af64',
    500: '#628e1e',
    950: '#000000',
  },
}
SCSS
$custom: #628e1e;
$custom-light: #93af64;
$custom-dark: #000000;
JSON
{
  "hex": "#628e1e",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 83.571,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59318,
    "c": 0.14497,
    "h": 129.3
  },
  "luminance": 0.22036
}

Semantic roles & 50–950 ramp

primary
#628E1E
secondary
#784CBC
accent
#40E882
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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