#EBDC7F#EBDC7F

#EBDC7F is a very light, moderate yellow. Relative luminance 0.704; OKLCH L 88.7% C 0.116 H 100.3°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#EBDC7F
RGBrgb(235, 220, 127)
HSLhsl(52, 73%, 71%)
HSVhsv(52, 46%, 92%)
CMYKcmyk(0%, 6.4%, 46%, 7.8%)
CIE-LABlab(87.18, -7.23, 47.32)
CIE-LCHlch(87.18, 47.87, 98.69°)
OKLaboklab(88.7% -0.0206 0.1137)
OKLCHoklch(88.7% 0.116 100.3)
XYZxyz(63.6866, 70.3830, 30.3051)
Luminance0.7038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDC7F #7F8EEB
analogous
#EBA67F #EBDC7F #C4EB7F
triadic
#EBDC7F #7FEBDC #DC7FEB
tetradic
#EBDC7F #7FEBA6 #7F8EEB #EB7FC4
square
#EBDC7F #7FEBA6 #7F8EEB #EB7FC4
split-complementary
#EBDC7F #7FC4EB #A67FEB
monochromatic
#CFB720 #E3CE4A #EBDC7F #F3EAB4 #FBF8E5

Accessibility & contrast

On white

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

On black

15.08
#EBDC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBDC7F
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBDC7F#FFFFFF#000000##000000
##EBDC7F1.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD777
Deuteranopia (green-blind)
#F0DD83
Tritanopia (blue-blind)
#F9D0C6
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ebdc7f;
/* rgb */ color: rgb(235, 220, 127);
/* oklch */ color: oklch(88.7% 0.116 100.3);
Tailwind
colors: {
  custom: {
    50: '#f3e6a6',
    500: '#ebdc7f',
    950: '#000000',
  },
}
SCSS
$custom: #ebdc7f;
$custom-light: #f3e6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebdc7f",
  "rgb": {
    "r": 235,
    "g": 220,
    "b": 127
  },
  "hsl": {
    "h": 51.667,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.88703,
    "c": 0.11551,
    "h": 100.3
  },
  "luminance": 0.70381
}

Semantic roles & 50–950 ramp

primary
#EBDC7F
secondary
#4A5BC4
accent
#2CD510
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBDC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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