#98BE21

A color in the Yellow, Gold family

#98be21 is a color in the Yellow, Gold family: RGB(152, 190, 33), HSL(75°, 70%, 44%), CMYK(20%, 0%, 83%, 25%). Closest named color: yellowgreen. Contrast is 2.16:1 on white and 9.72:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#98be21
RGBrgb(152 190 33)
RGB (legacy)rgb(152, 190, 33)
RGB %rgb(60% 75% 13%)
HSLhsl(75 70% 44%)
HSV / HSBhsv(75, 83%, 75%)
HWBhwb(75 13% 25%)
CMYKcmyk(20%, 0%, 83%, 25%)
CIELAB (D50)lab(72.22 -27.94 66.28)
LCHlch(72.22 71.92 112.86)
OKLaboklab(0.7473 -0.0962 0.1462)
OKLCHoklch(0.7473 0.175 123.34)
Decimal10010145

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 4
Closest web-safe color#99cc33
Hue75°
Saturation (HSL / HSV)70% / 83%
Lightness (HSL)44%
Brightness or Value (HSV)75%
Luminance (Rec.601 / Rec.709)63% / 67%
Relative luminance (WCAG)0.4361
Red / Green / Blue152 / 190 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.16:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.72: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 42.3 / -60 · As background with white / black text: Lc -46.9 / 61.7

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: #98be21;
  --color-brand-oklch: oklch(74.73% 0.175 123.34);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(152 190 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#98be21] text-[#98be21] border-[#98be21]">