#898E21

A color in the Yellow, Gold family

#898e21 is a color in the Yellow, Gold family: RGB(137, 142, 33), HSL(63°, 62%, 34%), CMYK(4%, 0%, 77%, 44%). Closest named color: olivedrab. Contrast is 3.53:1 on white and 5.95:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#898e21
RGBrgb(137 142 33)
RGB (legacy)rgb(137, 142, 33)
RGB %rgb(54% 56% 13%)
HSLhsl(63 62% 34%)
HSV / HSBhsv(63, 77%, 56%)
HWBhwb(63 13% 44%)
CMYKcmyk(4%, 0%, 77%, 44%)
CIELAB (D50)lab(57.12 -11.79 52.78)
LCHlch(57.12 54.09 102.59)
OKLaboklab(0.6228 -0.0478 0.117)
OKLCHoklch(0.6228 0.1263 112.23)
Decimal9014817

Properties

Color ToneYellow, Gold
Closest named colorolivedrab ΔE 4.1
Closest web-safe color#999933
Hue63°
Saturation (HSL / HSV)62% / 77%
Lightness (HSL)34%
Brightness or Value (HSV)56%
Luminance (Rec.601 / Rec.709)50% / 52%
Relative luminance (WCAG)0.2477
Red / Green / Blue137 / 142 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.53:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.95: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 62.7 / -39 · As background with white / black text: Lc -68.2 / 41.3

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: #898e21;
  --color-brand-oklch: oklch(62.28% 0.1263 112.23);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(137 142 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#898e21] text-[#898e21] border-[#898e21]">