#EBD17C#EBD17C

#EBD17C is a very light, moderate yellow. Relative luminance 0.647; OKLCH L 86.4% C 0.109 H 92.9°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#EBD17C
RGBrgb(235, 209, 124)
HSLhsl(46, 74%, 70%)
HSVhsv(46, 47%, 92%)
CMYKcmyk(0%, 11.1%, 47.2%, 7.8%)
CIE-LABlab(84.34, -1.92, 45.27)
CIE-LCHlch(84.34, 45.31, 92.42°)
OKLaboklab(86.44% -0.0055 0.1089)
OKLCHoklch(86.44% 0.109 92.9)
XYZxyz(60.7014, 64.7208, 28.3598)
Luminance0.6472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD17C #7C96EB
analogous
#EB997C #EBD17C #CDEB7C
triadic
#EBD17C #7CEBD1 #D17CEB
tetradic
#EBD17C #7CEB99 #7C96EB #EB7CCD
square
#EBD17C #7CEB99 #7C96EB #EB7CCD
split-complementary
#EBD17C #7CCDEB #997CEB
monochromatic
#CDA51F #E3BE47 #EBD17C #F3E4B1 #FBF6E4

Accessibility & contrast

On white

1.51
#EBD17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.94
#EBD17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD17C
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD17C#FFFFFF#000000##000000
##EBD17C1.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE75
Deuteranopia (green-blind)
#E8D67F
Tritanopia (blue-blind)
#FAC5BD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ebd17c;
/* rgb */ color: rgb(235, 209, 124);
/* oklch */ color: oklch(86.4% 0.109 92.9);
Tailwind
colors: {
  custom: {
    50: '#f3dea3',
    500: '#ebd17c',
    950: '#000000',
  },
}
SCSS
$custom: #ebd17c;
$custom-light: #f3dea3;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd17c",
  "rgb": {
    "r": 235,
    "g": 209,
    "b": 124
  },
  "hsl": {
    "h": 45.946,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.8644,
    "c": 0.10901,
    "h": 92.9
  },
  "luminance": 0.64718
}

Semantic roles & 50–950 ramp

primary
#EBD17C
secondary
#4764C4
accent
#3ED610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD17C

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

Preview Lab → · Contrast checker → · Palette generator →

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