#5FB235

A color in the Green family

#5fb235 is a color in the Green family: RGB(95, 178, 53), HSL(100°, 54%, 45%), CMYK(47%, 0%, 70%, 30%). Closest named color: mediumseagreen. Contrast is 2.66:1 on white and 7.91:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#5fb235
RGBrgb(95 178 53)
RGB (legacy)rgb(95, 178, 53)
RGB %rgb(37% 70% 21%)
HSLhsl(100 54% 45%)
HSV / HSBhsv(100, 70%, 70%)
HWBhwb(100 21% 30%)
CMYKcmyk(47%, 0%, 70%, 30%)
CIELAB (D50)lab(65.5 -42.8 52.53)
LCHlch(65.5 67.76 129.17)
OKLaboklab(0.6858 -0.1307 0.1215)
OKLCHoklch(0.6858 0.1784 137.08)
Decimal6271541

Properties

Color ToneGreen
Closest named colormediumseagreen ΔE 6.1
Closest web-safe color#669933
Hue100°
Saturation (HSL / HSV)54% / 70%
Lightness (HSL)45%
Brightness or Value (HSV)70%
Luminance (Rec.601 / Rec.709)54% / 59%
Relative luminance (WCAG)0.3453
Red / Green / Blue95 / 178 / 53

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 51.4 / -50.5 · As background with white / black text: Lc -56.6 / 52.6

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: #5fb235;
  --color-brand-oklch: oklch(68.58% 0.1784 137.08);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(95 178 53 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5fb235] text-[#5fb235] border-[#5fb235]">