#628F2C#628F2C

#628F2C is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.7% C 0.137 H 130.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#628F2C
RGBrgb(98, 143, 44)
HSLhsl(87, 53%, 37%)
HSVhsv(87, 69%, 56%)
CMYKcmyk(31.5%, 0%, 69.2%, 43.9%)
CIE-LABlab(54.47, -31.69, 45.81)
CIE-LCHlch(54.47, 55.70, 124.67°)
OKLaboklab(59.68% -0.0895 0.1041)
OKLCHoklch(59.68% 0.137 130.7)
XYZxyz(15.3140, 22.4230, 5.9036)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F2C #592C8F
analogous
#8F8B2C #628F2C #318F2C
triadic
#628F2C #2C628F #8F2C62
tetradic
#628F2C #2C8F8B #592C8F #8F2C31
square
#628F2C #2C8F8B #592C8F #8F2C31
split-complementary
#628F2C #2C318F #8B2C8F
monochromatic
#22310F #42601E #628F2C #82BE3A #A0D066

Accessibility & contrast

On white

3.83
#628F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#628F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F2C
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F2C#FFFFFF#000000##000000
##628F2C1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841E
Deuteranopia (green-blind)
#8F8134
Tritanopia (blue-blind)
#64897B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f2c;
/* rgb */ color: rgb(98, 143, 44);
/* oklch */ color: oklch(59.7% 0.137 130.7);
Tailwind
colors: {
  custom: {
    50: '#92b06b',
    500: '#628f2c',
    950: '#000000',
  },
}
SCSS
$custom: #628f2c;
$custom-light: #92b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#628f2c",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 87.273,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59679,
    "c": 0.13731,
    "h": 130.7
  },
  "luminance": 0.22423
}

Semantic roles & 50–950 ramp

primary
#628F2C
secondary
#8861B6
accent
#4BDC8D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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