#628B2E#628B2E

#628B2E is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.7% C 0.130 H 130.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#628B2E
RGBrgb(98, 139, 46)
HSLhsl(86, 50%, 36%)
HSVhsv(86, 67%, 55%)
CMYKcmyk(29.5%, 0%, 66.9%, 45.5%)
CIE-LABlab(53.23, -29.64, 43.64)
CIE-LCHlch(53.23, 52.76, 124.19°)
OKLaboklab(58.68% -0.0837 0.0999)
OKLCHoklch(58.68% 0.13 130)
XYZxyz(14.7627, 21.2588, 5.9098)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B2E #572E8B
analogous
#8B862E #628B2E #348B2E
triadic
#628B2E #2E628B #8B2E62
tetradic
#628B2E #2E8B86 #572E8B #8B2E34
square
#628B2E #2E8B86 #572E8B #8B2E34
split-complementary
#628B2E #2E348B #862E8B
monochromatic
#212F10 #425D1F #628B2E #82B93D #A0CD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628B2E#FFFFFF#000000##000000
##628B2E1.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)
#918122
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#648578
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b2e;
/* rgb */ color: rgb(98, 139, 46);
/* oklch */ color: oklch(58.7% 0.130 130.0);
Tailwind
colors: {
  custom: {
    50: '#92ad6c',
    500: '#628b2e',
    950: '#000000',
  },
}
SCSS
$custom: #628b2e;
$custom-light: #92ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#628b2e",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 86.452,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58675,
    "c": 0.13031,
    "h": 130
  },
  "luminance": 0.21259
}

Semantic roles & 50–950 ramp

primary
#628B2E
secondary
#8661B3
accent
#4EDA8C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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