#EBFA8A

A color in the Yellow, Gold family

#ebfa8a is a color in the Yellow, Gold family: RGB(235, 250, 138), HSL(68°, 92%, 76%), CMYK(6%, 0%, 45%, 2%). Closest named color: khaki. Contrast is 1.13:1 on white and 18.57:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ebfa8a
RGBrgb(235 250 138)
RGB (legacy)rgb(235, 250, 138)
RGB %rgb(92% 98% 54%)
HSLhsl(68 92% 76%)
HSV / HSBhsv(68, 45%, 98%)
HWBhwb(68 54% 2%)
CMYKcmyk(6%, 0%, 45%, 2%)
CIELAB (D50)lab(95.4 -16.92 51.59)
LCHlch(95.4 54.29 108.16)
OKLaboklab(0.9505 -0.0589 0.1244)
OKLCHoklch(0.9505 0.1376 115.34)
Decimal15465098

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 5.3
Closest web-safe color#ffff99
Hue68°
Saturation (HSL / HSV)92% / 45%
Lightness (HSL)76%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)91% / 94%
Relative luminance (WCAG)0.8787
Red / Green / Blue235 / 250 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.13:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
18.57: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 / -98.7 · As background with white / black text: Lc 0 / 97.7

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: #ebfa8a;
  --color-brand-oklch: oklch(95.05% 0.1376 115.34);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(235 250 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ebfa8a] text-[#ebfa8a] border-[#ebfa8a]">