#EBDC7C#EBDC7C

#EBDC7C is a very light, moderate yellow. Relative luminance 0.703; OKLCH L 88.7% C 0.119 H 100.6°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#EBDC7C
RGBrgb(235, 220, 124)
HSLhsl(52, 74%, 70%)
HSVhsv(52, 47%, 92%)
CMYKcmyk(0%, 6.4%, 47.2%, 7.8%)
CIE-LABlab(87.15, -7.51, 48.73)
CIE-LCHlch(87.15, 49.31, 98.76°)
OKLaboklab(88.66% -0.0217 0.1166)
OKLCHoklch(88.66% 0.119 100.6)
XYZxyz(63.4940, 70.3059, 29.2907)
Luminance0.7030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDC7C #7C8BEB
analogous
#EBA47C #EBDC7C #C2EB7C
triadic
#EBDC7C #7CEBDC #DC7CEB
tetradic
#EBDC7C #7CEBA4 #7C8BEB #EB7CC2
square
#EBDC7C #7CEBA4 #7C8BEB #EB7CC2
split-complementary
#EBDC7C #7CC2EB #A47CEB
monochromatic
#CDB61F #E3CE47 #EBDC7C #F3EAB1 #FBF8E4

Accessibility & contrast

On white

1.39
#EBDC7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#EBDC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBDC7C
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBDC7C#FFFFFF#000000##000000
##EBDC7C1.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD774
Deuteranopia (green-blind)
#F0DD80
Tritanopia (blue-blind)
#FAD0C5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ebdc7c;
/* rgb */ color: rgb(235, 220, 124);
/* oklch */ color: oklch(88.7% 0.119 100.6);
Tailwind
colors: {
  custom: {
    50: '#f3e6a4',
    500: '#ebdc7c',
    950: '#000000',
  },
}
SCSS
$custom: #ebdc7c;
$custom-light: #f3e6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ebdc7c",
  "rgb": {
    "r": 235,
    "g": 220,
    "b": 124
  },
  "hsl": {
    "h": 51.892,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88661,
    "c": 0.11858,
    "h": 100.6
  },
  "luminance": 0.70304
}

Semantic roles & 50–950 ramp

primary
#EBDC7C
secondary
#4758C4
accent
#2BD610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBDC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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