#628A2E#628A2E

#628A2E is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.4% C 0.129 H 129.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#628A2E
RGBrgb(98, 138, 46)
HSLhsl(86, 50%, 36%)
HSVhsv(86, 67%, 54%)
CMYKcmyk(29%, 0%, 66.7%, 45.9%)
CIE-LABlab(52.92, -29.17, 43.30)
CIE-LCHlch(52.92, 52.21, 123.96°)
OKLaboklab(58.42% -0.0824 0.0991)
OKLCHoklch(58.42% 0.129 129.7)
XYZxyz(14.6185, 20.9705, 5.8617)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A2E #562E8A
analogous
#8A842E #628A2E #348A2E
triadic
#628A2E #2E628A #8A2E62
tetradic
#628A2E #2E8A84 #562E8A #8A2E34
square
#628A2E #2E8A84 #562E8A #8A2E34
split-complementary
#628A2E #2E348A #842E8A
monochromatic
#212E0F #415C1F #628A2E #83B83D #A0CC66

Accessibility & contrast

On white

4.04
#628A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#628A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A2E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A2E#FFFFFF#000000##000000
##628A2E1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#8B7D35
Tritanopia (blue-blind)
#658477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a2e;
/* rgb */ color: rgb(98, 138, 46);
/* oklch */ color: oklch(58.4% 0.129 129.7);
Tailwind
colors: {
  custom: {
    50: '#92ac6b',
    500: '#628a2e',
    950: '#000000',
  },
}
SCSS
$custom: #628a2e;
$custom-light: #92ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#628a2e",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 86.087,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5842,
    "c": 0.12893,
    "h": 129.7
  },
  "luminance": 0.20971
}

Semantic roles & 50–950 ramp

primary
#628A2E
secondary
#8561B3
accent
#4EDA8B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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