#EBDA7C#EBDA7C

#EBDA7C is a very light, moderate yellow. Relative luminance 0.693; OKLCH L 88.3% C 0.117 H 99.3°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#EBDA7C
RGBrgb(235, 218, 124)
HSLhsl(51, 74%, 70%)
HSVhsv(51, 47%, 92%)
CMYKcmyk(0%, 7.2%, 47.2%, 7.8%)
CIE-LABlab(86.63, -6.50, 48.10)
CIE-LCHlch(86.63, 48.54, 97.70°)
OKLaboklab(88.25% -0.0188 0.1152)
OKLCHoklch(88.25% 0.117 99.3)
XYZxyz(62.9722, 69.2624, 29.1167)
Luminance0.6926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDA7C #7C8DEB
analogous
#EBA27C #EBDA7C #C4EB7C
triadic
#EBDA7C #7CEBDA #DA7CEB
tetradic
#EBDA7C #7CEBA2 #7C8DEB #EB7CC4
square
#EBDA7C #7CEBA2 #7C8DEB #EB7CC4
split-complementary
#EBDA7C #7CC4EB #A27CEB
monochromatic
#CDB31F #E3CB47 #EBDA7C #F3E9B1 #FBF8E4

Accessibility & contrast

On white

1.41
#EBDA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#EBDA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBDA7C
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBDA7C#FFFFFF#000000##000000
##EBDA7C1.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD574
Deuteranopia (green-blind)
#EFDC80
Tritanopia (blue-blind)
#FACEC4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ebda7c;
/* rgb */ color: rgb(235, 218, 124);
/* oklch */ color: oklch(88.3% 0.117 99.3);
Tailwind
colors: {
  custom: {
    50: '#f3e5a4',
    500: '#ebda7c',
    950: '#000000',
  },
}
SCSS
$custom: #ebda7c;
$custom-light: #f3e5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ebda7c",
  "rgb": {
    "r": 235,
    "g": 218,
    "b": 124
  },
  "hsl": {
    "h": 50.811,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88254,
    "c": 0.1167,
    "h": 99.3
  },
  "luminance": 0.6926
}

Semantic roles & 50–950 ramp

primary
#EBDA7C
secondary
#475AC4
accent
#2ED610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBDA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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