#628C2C#628C2C

#628C2C is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.133 H 130.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#628C2C
RGBrgb(98, 140, 44)
HSLhsl(86, 52%, 36%)
HSVhsv(86, 69%, 55%)
CMYKcmyk(30%, 0%, 68.6%, 45.1%)
CIE-LABlab(53.53, -30.28, 44.82)
CIE-LCHlch(53.53, 54.09, 124.04°)
OKLaboklab(58.91% -0.0856 0.1021)
OKLCHoklch(58.91% 0.133 130)
XYZxyz(14.8696, 21.5343, 5.7555)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C2C #562C8C
analogous
#8C862C #628C2C #328C2C
triadic
#628C2C #2C628C #8C2C62
tetradic
#628C2C #2C8C86 #562C8C #8C2C32
square
#628C2C #2C8C86 #562C8C #8C2C32
split-complementary
#628C2C #2C328C #862C8C
monochromatic
#212F0F #415D1D #628C2C #83BB3B #A0CE64

Accessibility & contrast

On white

3.96
#628C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#628C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C2C
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C2C#FFFFFF#000000##000000
##628C2C1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821F
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#648679
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c2c;
/* rgb */ color: rgb(98, 140, 44);
/* oklch */ color: oklch(58.9% 0.133 130.0);
Tailwind
colors: {
  custom: {
    50: '#92ae6a',
    500: '#628c2c',
    950: '#000000',
  },
}
SCSS
$custom: #628c2c;
$custom-light: #92ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#628c2c",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 86.25,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58912,
    "c": 0.13323,
    "h": 130
  },
  "luminance": 0.21535
}

Semantic roles & 50–950 ramp

primary
#628C2C
secondary
#855FB5
accent
#4CDC8B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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