#EBCF78#EBCF78

#EBCF78 is a very light, moderate yellow. Relative luminance 0.636; OKLCH L 86.0% C 0.112 H 92.1°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#EBCF78
RGBrgb(235, 207, 120)
HSLhsl(45, 74%, 70%)
HSVhsv(45, 49%, 92%)
CMYKcmyk(0%, 11.9%, 48.9%, 7.8%)
CIE-LABlab(83.78, -1.26, 46.55)
CIE-LCHlch(83.78, 46.57, 91.54°)
OKLaboklab(85.98% -0.004 0.1114)
OKLCHoklch(85.98% 0.112 92.1)
XYZxyz(59.9660, 63.6465, 26.8920)
Luminance0.6364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCF78 #7894EB
analogous
#EB9578 #EBCF78 #CEEB78
triadic
#EBCF78 #78EBCF #CF78EB
tetradic
#EBCF78 #78EB95 #7894EB #EB78CE
square
#EBCF78 #78EB95 #7894EB #EB78CE
split-complementary
#EBCF78 #78CEEB #9578EB
monochromatic
#CBA11E #E3BC43 #EBCF78 #F3E2AD #FBF5E3

Accessibility & contrast

On white

1.53
#EBCF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#EBCF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCF78
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCF78#FFFFFF#000000##000000
##EBCF781.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC71
Deuteranopia (green-blind)
#E7D47B
Tritanopia (blue-blind)
#FBC3BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ebcf78;
/* rgb */ color: rgb(235, 207, 120);
/* oklch */ color: oklch(86.0% 0.112 92.1);
Tailwind
colors: {
  custom: {
    50: '#f3dda0',
    500: '#ebcf78',
    950: '#000000',
  },
}
SCSS
$custom: #ebcf78;
$custom-light: #f3dda0;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcf78",
  "rgb": {
    "r": 235,
    "g": 207,
    "b": 120
  },
  "hsl": {
    "h": 45.391,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.85982,
    "c": 0.11151,
    "h": 92.1
  },
  "luminance": 0.63644
}

Semantic roles & 50–950 ramp

primary
#EBCF78
secondary
#4463C4
accent
#40D60F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EBCF78

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#EBCF78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva