#EBD678#EBD678

#EBD678 is a very light, moderate yellow. Relative luminance 0.671; OKLCH L 87.4% C 0.117 H 97.1°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#EBD678
RGBrgb(235, 214, 120)
HSLhsl(49, 74%, 70%)
HSVhsv(49, 49%, 92%)
CMYKcmyk(0%, 8.9%, 48.9%, 7.8%)
CIE-LABlab(85.56, -4.83, 48.73)
CIE-LCHlch(85.56, 48.97, 95.67°)
OKLaboklab(87.39% -0.0144 0.1163)
OKLCHoklch(87.39% 0.117 97.1)
XYZxyz(61.6996, 67.1137, 27.4699)
Luminance0.6711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD678 #788DEB
analogous
#EB9C78 #EBD678 #C7EB78
triadic
#EBD678 #78EBD6 #D678EB
tetradic
#EBD678 #78EB9C #788DEB #EB78C7
square
#EBD678 #78EB9C #788DEB #EB78C7
split-complementary
#EBD678 #78C7EB #9C78EB
monochromatic
#CBAB1E #E3C643 #EBD678 #F3E6AD #FBF6E3

Accessibility & contrast

On white

1.46
#EBD678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#EBD678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD678
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD678#FFFFFF#000000##000000
##EBD6781.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D270
Deuteranopia (green-blind)
#ECD97C
Tritanopia (blue-blind)
#FACAC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ebd678;
/* rgb */ color: rgb(235, 214, 120);
/* oklch */ color: oklch(87.4% 0.117 97.1);
Tailwind
colors: {
  custom: {
    50: '#f3e2a1',
    500: '#ebd678',
    950: '#000000',
  },
}
SCSS
$custom: #ebd678;
$custom-light: #f3e2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd678",
  "rgb": {
    "r": 235,
    "g": 214,
    "b": 120
  },
  "hsl": {
    "h": 49.043,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87389,
    "c": 0.11715,
    "h": 97.1
  },
  "luminance": 0.67111
}

Semantic roles & 50–950 ramp

primary
#EBD678
secondary
#445BC4
accent
#34D60F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD678

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

Preview Lab → · Contrast checker → · Palette generator →

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