#EBD46B#EBD46B

#EBD46B is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.8% C 0.128 H 97.2°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#EBD46B
RGBrgb(235, 212, 107)
HSLhsl(49, 76%, 67%)
HSVhsv(49, 54%, 92%)
CMYKcmyk(0%, 9.8%, 54.5%, 7.8%)
CIE-LABlab(84.90, -4.91, 54.13)
CIE-LCHlch(84.90, 54.35, 95.18°)
OKLaboklab(86.82% -0.016 0.1269)
OKLCHoklch(86.82% 0.128 97.2)
XYZxyz(60.4605, 65.8132, 23.4256)
Luminance0.6581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD46B #6B82EB
analogous
#EB946B #EBD46B #C2EB6B
triadic
#EBD46B #6BEBD4 #D46BEB
tetradic
#EBD46B #6BEB94 #6B82EB #EB6BC2
square
#EBD46B #6BEB94 #6B82EB #EB6BC2
split-complementary
#EBD46B #6BC2EB #946BEB
monochromatic
#C1A31A #E4C435 #EBD46B #F2E4A1 #FAF3D7

Accessibility & contrast

On white

1.48
#EBD46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#EBD46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD46B
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD46B#FFFFFF#000000##000000
##EBD46B1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D061
Deuteranopia (green-blind)
#ECD770
Tritanopia (blue-blind)
#FBC7BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebd46b;
/* rgb */ color: rgb(235, 212, 107);
/* oklch */ color: oklch(86.8% 0.128 97.2);
Tailwind
colors: {
  custom: {
    50: '#f4e198',
    500: '#ebd46b',
    950: '#000000',
  },
}
SCSS
$custom: #ebd46b;
$custom-light: #f4e198;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd46b",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 107
  },
  "hsl": {
    "h": 49.219,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86818,
    "c": 0.12792,
    "h": 97.2
  },
  "luminance": 0.65811
}

Semantic roles & 50–950 ramp

primary
#EBD46B
secondary
#3A52C0
accent
#32D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD46B

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

Preview Lab → · Contrast checker → · Palette generator →

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