#628B2B#628B2B

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

Color values

HEX#628B2B
RGBrgb(98, 139, 43)
HSLhsl(86, 53%, 36%)
HSVhsv(86, 69%, 55%)
CMYKcmyk(29.5%, 0%, 69.1%, 45.5%)
CIE-LABlab(53.21, -29.88, 44.90)
CIE-LCHlch(53.21, 53.94, 123.64°)
OKLaboklab(58.65% -0.0846 0.1021)
OKLCHoklch(58.65% 0.133 129.7)
XYZxyz(14.7056, 21.2359, 5.6092)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B2B #542B8B
analogous
#8B842B #628B2B #328B2B
triadic
#628B2B #2B628B #8B2B62
tetradic
#628B2B #2B8B84 #542B8B #8B2B32
square
#628B2B #2B8B84 #542B8B #8B2B32
split-complementary
#628B2B #2B328B #842B8B
monochromatic
#202E0E #415C1D #628B2B #83BA39 #A0CE62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628B2B#FFFFFF#000000##000000
##628B2B1.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)
#92811D
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#658578
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b2b;
/* rgb */ color: rgb(98, 139, 43);
/* oklch */ color: oklch(58.6% 0.133 129.7);
Tailwind
colors: {
  custom: {
    50: '#92ad6a',
    500: '#628b2b',
    950: '#000000',
  },
}
SCSS
$custom: #628b2b;
$custom-light: #92ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#628b2b",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 85.625,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58647,
    "c": 0.13262,
    "h": 129.7
  },
  "luminance": 0.21236
}

Semantic roles & 50–950 ramp

primary
#628B2B
secondary
#835DB5
accent
#4CDC89
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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