#628B2A#628B2A

#628B2A is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.6% C 0.133 H 129.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#628B2A
RGBrgb(98, 139, 42)
HSLhsl(85, 54%, 35%)
HSVhsv(85, 70%, 55%)
CMYKcmyk(29.5%, 0%, 69.8%, 45.5%)
CIE-LABlab(53.20, -29.96, 45.32)
CIE-LCHlch(53.20, 54.32, 123.47°)
OKLaboklab(58.64% -0.0849 0.1028)
OKLCHoklch(58.64% 0.133 129.6)
XYZxyz(14.6875, 21.2287, 5.5137)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B2A #532A8B
analogous
#8B832A #628B2A #318B2A
triadic
#628B2A #2A628B #8B2A62
tetradic
#628B2A #2A8B83 #532A8B #8B2A31
square
#628B2A #2A8B83 #532A8B #8B2A31
split-complementary
#628B2A #2A318B #832A8B
monochromatic
#202D0E #415C1C #628B2A #83BA38 #A0CF60

Accessibility & contrast

On white

4.00
#628B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#628B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B2A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B2A#FFFFFF#000000##000000
##628B2A1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811C
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#658577
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b2a;
/* rgb */ color: rgb(98, 139, 42);
/* oklch */ color: oklch(58.6% 0.133 129.6);
Tailwind
colors: {
  custom: {
    50: '#92ad69',
    500: '#628b2a',
    950: '#000000',
  },
}
SCSS
$custom: #628b2a;
$custom-light: #92ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#628b2a",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 85.361,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58638,
    "c": 0.13337,
    "h": 129.6
  },
  "luminance": 0.21229
}

Semantic roles & 50–950 ramp

primary
#628B2A
secondary
#825CB5
accent
#4BDD89
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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