#628A2A#628A2A

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

Color values

HEX#628A2A
RGBrgb(98, 138, 42)
HSLhsl(85, 53%, 35%)
HSVhsv(85, 70%, 54%)
CMYKcmyk(29%, 0%, 69.6%, 45.9%)
CIE-LABlab(52.88, -29.48, 44.99)
CIE-LCHlch(52.88, 53.79, 123.24°)
OKLaboklab(58.38% -0.0836 0.1021)
OKLCHoklch(58.38% 0.132 129.3)
XYZxyz(14.5433, 20.9404, 5.4657)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A2A #522A8A
analogous
#8A822A #628A2A #328A2A
triadic
#628A2A #2A628A #8A2A62
tetradic
#628A2A #2A8A82 #522A8A #8A2A32
square
#628A2A #2A8A82 #522A8A #8A2A32
split-complementary
#628A2A #2A328A #822A8A
monochromatic
#1F2C0D #415B1C #628A2A #83B938 #A0CF60

Accessibility & contrast

On white

4.05
#628A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##628A2A#FFFFFF#000000##000000
##628A2A1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801C
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#658477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a2a;
/* rgb */ color: rgb(98, 138, 42);
/* oklch */ color: oklch(58.4% 0.132 129.3);
Tailwind
colors: {
  custom: {
    50: '#92ac69',
    500: '#628a2a',
    950: '#000000',
  },
}
SCSS
$custom: #628a2a;
$custom-light: #92ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#628a2a",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 85,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58383,
    "c": 0.13201,
    "h": 129.3
  },
  "luminance": 0.20941
}

Semantic roles & 50–950 ramp

primary
#628A2A
secondary
#805BB4
accent
#4BDD88
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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