#F0DD67

A color in the Yellow, Gold family

#f0dd67 is a color in the Yellow, Gold family: RGB(240, 221, 103), HSL(52°, 82%, 67%), CMYK(0%, 8%, 57%, 6%). Closest named color: khaki. Contrast is 1.38:1 on white and 15.24:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f0dd67
RGBrgb(240 221 103)
RGB (legacy)rgb(240, 221, 103)
RGB %rgb(94% 87% 40%)
HSLhsl(52 82% 67%)
HSV / HSBhsv(52, 57%, 94%)
HWBhwb(52 40% 6%)
CMYKcmyk(0%, 8%, 57%, 6%)
CIELAB (D50)lab(87.99 -3.65 59.08)
LCHlch(87.99 59.19 93.54)
OKLaboklab(0.8904 -0.0248 0.1372)
OKLCHoklch(0.8904 0.1395 100.26)
Decimal15785319

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 3.6
Closest web-safe color#ffcc66
Hue52°
Saturation (HSL / HSV)82% / 57%
Lightness (HSL)67%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)84% / 85%
Relative luminance (WCAG)0.7122
Red / Green / Blue240 / 221 / 103

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.38:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.24: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 18.3 / -85.2 · As background with white / black text: Lc -20.9 / 85.4

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: #f0dd67;
  --color-brand-oklch: oklch(89.04% 0.1395 100.26);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(240 221 103 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f0dd67] text-[#f0dd67] border-[#f0dd67]">