#EBD662#EBD662

#EBD662 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.1% C 0.138 H 99.1°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#EBD662
RGBrgb(235, 214, 98)
HSLhsl(51, 77%, 65%)
HSVhsv(51, 58%, 92%)
CMYKcmyk(0%, 8.9%, 58.3%, 7.8%)
CIE-LABlab(85.32, -6.59, 58.72)
CIE-LCHlch(85.32, 59.09, 96.40°)
OKLaboklab(87.12% -0.0219 0.1358)
OKLCHoklch(87.12% 0.138 99.1)
XYZxyz(60.5144, 66.6397, 21.2281)
Luminance0.6664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD662 #6277EB
analogous
#EB9162 #EBD662 #BBEB62
triadic
#EBD662 #62EBD6 #D662EB
tetradic
#EBD662 #62EB91 #6277EB #EB62BB
square
#EBD662 #62EB91 #6277EB #EB62BB
split-complementary
#EBD662 #62BBEB #9162EB
monochromatic
#BBA218 #E4C82C #EBD662 #F2E498 #F9F2CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBD662#FFFFFF#000000##000000
##EBD6621.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)
#E8D156
Deuteranopia (green-blind)
#EED968
Tritanopia (blue-blind)
#FCC8BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ebd662;
/* rgb */ color: rgb(235, 214, 98);
/* oklch */ color: oklch(87.1% 0.138 99.1);
Tailwind
colors: {
  custom: {
    50: '#f4e292',
    500: '#ebd662',
    950: '#000000',
  },
}
SCSS
$custom: #ebd662;
$custom-light: #f4e292;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd662",
  "rgb": {
    "r": 235,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 50.803,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87122,
    "c": 0.13756,
    "h": 99.1
  },
  "luminance": 0.66637
}

Semantic roles & 50–950 ramp

primary
#EBD662
secondary
#374BBA
accent
#2BDA0C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD662

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

Preview Lab → · Contrast checker → · Palette generator →

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