#EBE774#EBE774

#EBE774 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 90.8% C 0.137 H 107.0°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#EBE774
RGBrgb(235, 231, 116)
HSLhsl(58, 75%, 69%)
HSVhsv(58, 51%, 92%)
CMYKcmyk(0%, 1.7%, 50.6%, 7.8%)
CIE-LABlab(89.89, -13.70, 55.81)
CIE-LCHlch(89.89, 57.47, 103.79°)
OKLaboklab(90.81% -0.0403 0.1314)
OKLCHoklch(90.81% 0.137 107)
XYZxyz(65.9909, 76.0767, 27.7277)
Luminance0.7608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE774 #7478EB
analogous
#EBAC74 #EBE774 #B4EB74
triadic
#EBE774 #74EBE7 #E774EB
tetradic
#EBE774 #74EBAC #7478EB #EB74B4
square
#EBE774 #74EBAC #7478EB #EB74B4
split-complementary
#EBE774 #74B4EB #AC74EB
monochromatic
#C8C21D #E3DE3E #EBE774 #F3F0AA #FAF9DF

Accessibility & contrast

On white

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

On black

16.22
#EBE774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE774
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE774#FFFFFF#000000##000000
##EBE7741.001.3016.2216.22
#FFFFFF1.301.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF69
Deuteranopia (green-blind)
#FAE47A
Tritanopia (blue-blind)
#F9DACD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ebe774;
/* rgb */ color: rgb(235, 231, 116);
/* oklch */ color: oklch(90.8% 0.137 107.0);
Tailwind
colors: {
  custom: {
    50: '#f4ee9f',
    500: '#ebe774',
    950: '#000000',
  },
}
SCSS
$custom: #ebe774;
$custom-light: #f4ee9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe774",
  "rgb": {
    "r": 235,
    "g": 231,
    "b": 116
  },
  "hsl": {
    "h": 57.983,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.90813,
    "c": 0.13748,
    "h": 107
  },
  "luminance": 0.76075
}

Semantic roles & 50–950 ramp

primary
#EBE774
secondary
#4044C3
accent
#15D70F
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #EBE774

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

Preview Lab → · Contrast checker → · Palette generator →

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