#4B7B21

A color in the Green family

#4b7b21 is a color in the Green family: RGB(75, 123, 33), HSL(92°, 58%, 31%), CMYK(39%, 0%, 73%, 52%). Closest named color: green. Contrast is 5.05:1 on white and 4.15:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4b7b21
RGBrgb(75 123 33)
RGB (legacy)rgb(75, 123, 33)
RGB %rgb(29% 48% 13%)
HSLhsl(92 58% 31%)
HSV / HSBhsv(92, 73%, 48%)
HWBhwb(92 13% 52%)
CMYKcmyk(39%, 0%, 73%, 52%)
CIELAB (D50)lab(46.79 -28.77 41.22)
LCHlch(46.79 50.26 124.91)
OKLaboklab(0.5295 -0.09 0.0947)
OKLCHoklch(0.5295 0.1306 133.53)
Decimal4946721

Properties

Color ToneGreen
Closest named colorgreen ΔE 5.3
Closest web-safe color#336633
Hue92°
Saturation (HSL / HSV)58% / 73%
Lightness (HSL)31%
Brightness or Value (HSV)48%
Luminance (Rec.601 / Rec.709)39% / 42%
Relative luminance (WCAG)0.1577
Red / Green / Blue75 / 123 / 33

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 74.7 / -27 · As background with white / black text: Lc -80.1 / 29.4

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: #4b7b21;
  --color-brand-oklch: oklch(52.95% 0.1306 133.53);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(75 123 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4b7b21] text-[#4b7b21] border-[#4b7b21]">