#F2FBCD

A color in the Yellow, Gold family

#f2fbcd is a color in the Yellow, Gold family: RGB(242, 251, 205), HSL(72°, 85%, 89%), CMYK(4%, 0%, 18%, 2%). Closest named color: lightgoldenrodyellow. Contrast is 1.08:1 on white and 19.46:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f2fbcd
RGBrgb(242 251 205)
RGB (legacy)rgb(242, 251, 205)
RGB %rgb(95% 98% 80%)
HSLhsl(72 85% 89%)
HSV / HSBhsv(72, 18%, 98%)
HWBhwb(72 80% 2%)
CMYKcmyk(4%, 0%, 18%, 2%)
CIELAB (D50)lab(97.07 -8.7 21.09)
LCHlch(97.07 22.82 112.41)
OKLaboklab(0.9698 -0.027 0.0541)
OKLCHoklch(0.9698 0.0604 116.53)
Decimal15924173

Properties

Color ToneYellow, Gold
Closest named colorlightgoldenrodyellow ΔE 1.3
Closest web-safe color#ffffcc
Hue72°
Saturation (HSL / HSV)85% / 18%
Lightness (HSL)89%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)95% / 96%
Relative luminance (WCAG)0.9228
Red / Green / Blue242 / 251 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.08:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
19.46: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 0 / -102.1 · As background with white / black text: Lc 0 / 100.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: #f2fbcd;
  --color-brand-oklch: oklch(96.98% 0.0604 116.53);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(242 251 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f2fbcd] text-[#f2fbcd] border-[#f2fbcd]">