#EBD672#EBD672

#EBD672 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.3% C 0.123 H 97.7°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#EBD672
RGBrgb(235, 214, 114)
HSLhsl(50, 75%, 68%)
HSVhsv(50, 51%, 92%)
CMYKcmyk(0%, 8.9%, 51.5%, 7.8%)
CIE-LABlab(85.49, -5.35, 51.52)
CIE-LCHlch(85.49, 51.80, 95.93°)
OKLaboklab(87.31% -0.0165 0.1219)
OKLCHoklch(87.31% 0.123 97.7)
XYZxyz(61.3468, 66.9726, 25.6119)
Luminance0.6697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD672 #7287EB
analogous
#EB9972 #EBD672 #C3EB72
triadic
#EBD672 #72EBD6 #D672EB
tetradic
#EBD672 #72EB99 #7287EB #EB72C3
square
#EBD672 #72EB99 #7287EB #EB72C3
split-complementary
#EBD672 #72C3EB #9972EB
monochromatic
#C6A91C #E3C63C #EBD672 #F3E6A8 #FAF5DD

Accessibility & contrast

On white

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

On black

14.39
#EBD672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD672
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD672#FFFFFF#000000##000000
##EBD6721.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D169
Deuteranopia (green-blind)
#EDD976
Tritanopia (blue-blind)
#FBC9BF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ebd672;
/* rgb */ color: rgb(235, 214, 114);
/* oklch */ color: oklch(87.3% 0.123 97.7);
Tailwind
colors: {
  custom: {
    50: '#f4e29d',
    500: '#ebd672',
    950: '#000000',
  },
}
SCSS
$custom: #ebd672;
$custom-light: #f4e29d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd672",
  "rgb": {
    "r": 235,
    "g": 214,
    "b": 114
  },
  "hsl": {
    "h": 49.587,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.8731,
    "c": 0.12303,
    "h": 97.7
  },
  "luminance": 0.6697
}

Semantic roles & 50–950 ramp

primary
#EBD672
secondary
#3E55C3
accent
#31D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD672

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

Preview Lab → · Contrast checker → · Palette generator →

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