#989B21

A color in the Yellow, Gold family

#989b21 is a color in the Yellow, Gold family: RGB(152, 155, 33), HSL(61°, 65%, 37%), CMYK(2%, 0%, 79%, 39%). Closest named color: darkgoldenrod. Contrast is 2.98:1 on white and 7.05:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#989b21
RGBrgb(152 155 33)
RGB (legacy)rgb(152, 155, 33)
RGB %rgb(60% 61% 13%)
HSLhsl(61 65% 37%)
HSV / HSBhsv(61, 79%, 61%)
HWBhwb(61 13% 39%)
CMYKcmyk(2%, 0%, 79%, 39%)
CIELAB (D50)lab(62.15 -11.63 57.76)
LCHlch(62.15 58.92 101.39)
OKLaboklab(0.6658 -0.0489 0.1271)
OKLCHoklch(0.6658 0.1361 111.05)
Decimal10001185

Properties

Color ToneYellow, Gold
Closest named colordarkgoldenrod ΔE 7
Closest web-safe color#999933
Hue61°
Saturation (HSL / HSV)65% / 79%
Lightness (HSL)37%
Brightness or Value (HSV)61%
Luminance (Rec.601 / Rec.709)55% / 57%
Relative luminance (WCAG)0.3023
Red / Green / Blue152 / 155 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.98:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.05: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 56.3 / -45.5 · As background with white / black text: Lc -61.6 / 47.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: #989b21;
  --color-brand-oklch: oklch(66.58% 0.1361 111.05);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(152 155 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#989b21] text-[#989b21] border-[#989b21]">