#EBD57B#EBD57B

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

Color values

HEX#EBD57B
RGBrgb(235, 213, 123)
HSLhsl(48, 74%, 70%)
HSVhsv(48, 48%, 92%)
CMYKcmyk(0%, 9.4%, 47.7%, 7.8%)
CIE-LABlab(85.34, -4.05, 47.01)
CIE-LCHlch(85.34, 47.18, 94.93°)
OKLaboklab(87.23% -0.0118 0.1127)
OKLCHoklch(87.23% 0.113 96)
XYZxyz(61.6322, 66.6831, 28.3597)
Luminance0.6668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD57B #7B91EB
analogous
#EB9D7B #EBD57B #C9EB7B
triadic
#EBD57B #7BEBD5 #D57BEB
tetradic
#EBD57B #7BEB9D #7B91EB #EB7BC9
square
#EBD57B #7BEB9D #7B91EB #EB7BC9
split-complementary
#EBD57B #7BC9EB #9D7BEB
monochromatic
#CDAA1F #E3C446 #EBD57B #F3E6B0 #FBF7E4

Accessibility & contrast

On white

1.46
#EBD57B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#EBD57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD57B
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD57B#FFFFFF#000000##000000
##EBD57B1.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D174
Deuteranopia (green-blind)
#EBD87F
Tritanopia (blue-blind)
#FAC9C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ebd57b;
/* rgb */ color: rgb(235, 213, 123);
/* oklch */ color: oklch(87.2% 0.113 96.0);
Tailwind
colors: {
  custom: {
    50: '#f3e1a3',
    500: '#ebd57b',
    950: '#000000',
  },
}
SCSS
$custom: #ebd57b;
$custom-light: #f3e1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd57b",
  "rgb": {
    "r": 235,
    "g": 213,
    "b": 123
  },
  "hsl": {
    "h": 48.214,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87229,
    "c": 0.11328,
    "h": 96
  },
  "luminance": 0.66681
}

Semantic roles & 50–950 ramp

primary
#EBD57B
secondary
#465FC4
accent
#37D610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD57B

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

Preview Lab → · Contrast checker → · Palette generator →

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