#628B21

A color in the Green family

#628b21 is a color in the Green family: RGB(98, 139, 33), HSL(83°, 62%, 34%), CMYK(29%, 0%, 76%, 45%). Closest named color: olivedrab. Contrast is 4.01:1 on white and 5.23:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#628b21
RGBrgb(98 139 33)
RGB (legacy)rgb(98, 139, 33)
RGB %rgb(38% 55% 13%)
HSLhsl(83 62% 34%)
HSV / HSBhsv(83, 76%, 55%)
HWBhwb(83 13% 45%)
CMYKcmyk(29%, 0%, 76%, 45%)
CIELAB (D50)lab(53.3 -26.9 48.02)
LCHlch(53.3 55.05 119.26)
OKLaboklab(0.5857 -0.0874 0.1086)
OKLCHoklch(0.5857 0.1394 128.81)
Decimal6458145

Properties

Color ToneGreen
Closest named colorolivedrab ΔE 1.5
Closest web-safe color#669933
Hue83°
Saturation (HSL / HSV)62% / 76%
Lightness (HSL)34%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)45% / 48%
Relative luminance (WCAG)0.2117
Red / Green / Blue98 / 139 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.01:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.23:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 67.2 / -34.4 · As background with white / black text: Lc -72.7 / 36.8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #628b21;
  --color-brand-oklch: oklch(58.57% 0.1394 128.81);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(98 139 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#628b21] text-[#628b21] border-[#628b21]">