#EBD57A#EBD57A

#EBD57A is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.2% C 0.114 H 96.1°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#EBD57A
RGBrgb(235, 213, 122)
HSLhsl(48, 74%, 70%)
HSVhsv(48, 48%, 92%)
CMYKcmyk(0%, 9.4%, 48.1%, 7.8%)
CIE-LABlab(85.33, -4.14, 47.48)
CIE-LCHlch(85.33, 47.66, 94.99°)
OKLaboklab(87.22% -0.0122 0.1136)
OKLCHoklch(87.22% 0.114 96.1)
XYZxyz(61.5699, 66.6582, 28.0317)
Luminance0.6666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD57A #7A90EB
analogous
#EB9D7A #EBD57A #C8EB7A
triadic
#EBD57A #7AEBD5 #D57AEB
tetradic
#EBD57A #7AEB9D #7A90EB #EB7AC8
square
#EBD57A #7AEB9D #7A90EB #EB7AC8
split-complementary
#EBD57A #7AC8EB #9D7AEB
monochromatic
#CCAA1F #E3C445 #EBD57A #F3E6AF #FBF7E4

Accessibility & contrast

On white

1.47
#EBD57A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#EBD57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD57A
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD57A#FFFFFF#000000##000000
##EBD57A1.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D172
Deuteranopia (green-blind)
#EBD87E
Tritanopia (blue-blind)
#FAC9BF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ebd57a;
/* rgb */ color: rgb(235, 213, 122);
/* oklch */ color: oklch(87.2% 0.114 96.1);
Tailwind
colors: {
  custom: {
    50: '#f3e1a2',
    500: '#ebd57a',
    950: '#000000',
  },
}
SCSS
$custom: #ebd57a;
$custom-light: #f3e1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd57a",
  "rgb": {
    "r": 235,
    "g": 213,
    "b": 122
  },
  "hsl": {
    "h": 48.319,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.87215,
    "c": 0.11429,
    "h": 96.1
  },
  "luminance": 0.66656
}

Semantic roles & 50–950 ramp

primary
#EBD57A
secondary
#455EC4
accent
#36D610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD57A

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

Preview Lab → · Contrast checker → · Palette generator →

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