#EBE766#EBE766

#EBE766 is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.7% C 0.150 H 107.4°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#EBE766
RGBrgb(235, 231, 102)
HSLhsl(58, 77%, 66%)
HSVhsv(58, 57%, 92%)
CMYKcmyk(0%, 1.7%, 56.6%, 7.8%)
CIE-LABlab(89.75, -14.79, 61.93)
CIE-LCHlch(89.75, 63.67, 103.43°)
OKLaboklab(90.66% -0.0448 0.1432)
OKLCHoklch(90.66% 0.15 107.4)
XYZxyz(65.2371, 75.7752, 23.7574)
Luminance0.7577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE766 #666AEB
analogous
#EBA466 #EBE766 #ADEB66
triadic
#EBE766 #66EBE7 #E766EB
tetradic
#EBE766 #66EBA4 #666AEB #EB66AD
square
#EBE766 #66EBA4 #666AEB #EB66AD
split-complementary
#EBE766 #66ADEB #A466EB
monochromatic
#BEB919 #E4DF30 #EBE766 #F2EF9C #F9F8D2

Accessibility & contrast

On white

1.30
#EBE766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.15
#EBE766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE766
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE766#FFFFFF#000000##000000
##EBE7661.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF58
Deuteranopia (green-blind)
#FBE46D
Tritanopia (blue-blind)
#FADACB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ebe766;
/* rgb */ color: rgb(235, 231, 102);
/* oklch */ color: oklch(90.7% 0.150 107.4);
Tailwind
colors: {
  custom: {
    50: '#f4ee96',
    500: '#ebe766',
    950: '#000000',
  },
}
SCSS
$custom: #ebe766;
$custom-light: #f4ee96;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe766",
  "rgb": {
    "r": 235,
    "g": 231,
    "b": 102
  },
  "hsl": {
    "h": 58.195,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.90657,
    "c": 0.15001,
    "h": 107.4
  },
  "luminance": 0.75773
}

Semantic roles & 50–950 ramp

primary
#EBE766
secondary
#393DBD
accent
#13D90C
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EBE766

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

Preview Lab → · Contrast checker → · Palette generator →

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