#628A2B#628A2B

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

Color values

HEX#628A2B
RGBrgb(98, 138, 43)
HSLhsl(85, 52%, 35%)
HSVhsv(85, 69%, 54%)
CMYKcmyk(29%, 0%, 68.8%, 45.9%)
CIE-LABlab(52.89, -29.41, 44.58)
CIE-LCHlch(52.89, 53.40, 123.41°)
OKLaboklab(58.39% -0.0833 0.1014)
OKLCHoklch(58.39% 0.131 129.4)
XYZxyz(14.5615, 20.9477, 5.5611)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A2B #532B8A
analogous
#8A822B #628A2B #338A2B
triadic
#628A2B #2B628A #8A2B62
tetradic
#628A2B #2B8A82 #532B8A #8A2B33
square
#628A2B #2B8A82 #532B8A #8A2B33
split-complementary
#628A2B #2B338A #822B8A
monochromatic
#202D0E #415B1C #628A2B #83B93A #A0CE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628A2B#FFFFFF#000000##000000
##628A2B1.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)
#91801E
Deuteranopia (green-blind)
#8B7D33
Tritanopia (blue-blind)
#658477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a2b;
/* rgb */ color: rgb(98, 138, 43);
/* oklch */ color: oklch(58.4% 0.131 129.4);
Tailwind
colors: {
  custom: {
    50: '#92ac6a',
    500: '#628a2b',
    950: '#000000',
  },
}
SCSS
$custom: #628a2b;
$custom-light: #92ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#628a2b",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 85.263,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.13126,
    "h": 129.4
  },
  "luminance": 0.20948
}

Semantic roles & 50–950 ramp

primary
#628A2B
secondary
#825DB4
accent
#4CDC89
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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