#ECEF4E

A color in the Yellow, Gold family

#ecef4e is a color in the Yellow, Gold family: RGB(236, 239, 78), HSL(61°, 83%, 62%), CMYK(1%, 0%, 67%, 6%). Closest named color: yellow. Contrast is 1.23:1 on white and 17.02:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ecef4e
RGBrgb(236 239 78)
RGB (legacy)rgb(236, 239, 78)
RGB %rgb(93% 94% 31%)
HSLhsl(61 83% 62%)
HSV / HSBhsv(61, 67%, 94%)
HWBhwb(61 31% 6%)
CMYKcmyk(1%, 0%, 67%, 6%)
CIELAB (D50)lab(92.13 -14.78 73.17)
LCHlch(92.13 74.65 101.42)
OKLaboklab(0.922 -0.0614 0.1647)
OKLCHoklch(0.922 0.1757 110.45)
Decimal15527758

Properties

Color ToneYellow, Gold
Closest named coloryellow ΔE 5.8
Closest web-safe color#ffff66
Hue61°
Saturation (HSL / HSV)83% / 67%
Lightness (HSL)62%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)86% / 89%
Relative luminance (WCAG)0.8012
Red / Green / Blue236 / 239 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.23:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
17.02: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 11.4 / -92.6 · As background with white / black text: Lc -13.3 / 92.2

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: #ecef4e;
  --color-brand-oklch: oklch(92.2% 0.1757 110.45);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 239 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ecef4e] text-[#ecef4e] border-[#ecef4e]">