#EBDA7B#EBDA7B

#EBDA7B is a very light, moderate yellow. Relative luminance 0.692; OKLCH L 88.2% C 0.118 H 99.4°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#EBDA7B
RGBrgb(235, 218, 123)
HSLhsl(51, 74%, 70%)
HSVhsv(51, 48%, 92%)
CMYKcmyk(0%, 7.2%, 47.7%, 7.8%)
CIE-LABlab(86.62, -6.59, 48.57)
CIE-LCHlch(86.62, 49.02, 97.73°)
OKLaboklab(88.24% -0.0192 0.1161)
OKLCHoklch(88.24% 0.118 99.4)
XYZxyz(62.9093, 69.2372, 28.7854)
Luminance0.6924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDA7B #7B8CEB
analogous
#EBA27B #EBDA7B #C4EB7B
triadic
#EBDA7B #7BEBDA #DA7BEB
tetradic
#EBDA7B #7BEBA2 #7B8CEB #EB7BC4
square
#EBDA7B #7BEBA2 #7B8CEB #EB7BC4
split-complementary
#EBDA7B #7BC4EB #A27BEB
monochromatic
#CDB21F #E3CB46 #EBDA7B #F3E9B0 #FBF8E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBDA7B#FFFFFF#000000##000000
##EBDA7B1.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)
#EAD573
Deuteranopia (green-blind)
#EFDC7F
Tritanopia (blue-blind)
#FACEC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ebda7b;
/* rgb */ color: rgb(235, 218, 123);
/* oklch */ color: oklch(88.2% 0.118 99.4);
Tailwind
colors: {
  custom: {
    50: '#f3e5a3',
    500: '#ebda7b',
    950: '#000000',
  },
}
SCSS
$custom: #ebda7b;
$custom-light: #f3e5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ebda7b",
  "rgb": {
    "r": 235,
    "g": 218,
    "b": 123
  },
  "hsl": {
    "h": 50.893,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.8824,
    "c": 0.11771,
    "h": 99.4
  },
  "luminance": 0.69235
}

Semantic roles & 50–950 ramp

primary
#EBDA7B
secondary
#4659C4
accent
#2ED610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBDA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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