#EBE77F#EBE77F

#EBE77F is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.0% C 0.127 H 106.7°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#EBE77F
RGBrgb(235, 231, 127)
HSLhsl(58, 73%, 71%)
HSVhsv(58, 46%, 92%)
CMYKcmyk(0%, 1.7%, 46%, 7.8%)
CIE-LABlab(90.02, -12.73, 50.80)
CIE-LCHlch(90.02, 52.37, 104.07°)
OKLaboklab(90.95% -0.0364 0.1214)
OKLCHoklch(90.95% 0.127 106.7)
XYZxyz(66.6691, 76.3480, 31.2992)
Luminance0.7635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE77F #7F83EB
analogous
#EBB17F #EBE77F #B9EB7F
triadic
#EBE77F #7FEBE7 #E77FEB
tetradic
#EBE77F #7FEBB1 #7F83EB #EB7FB9
square
#EBE77F #7FEBB1 #7F83EB #EB7FB9
split-complementary
#EBE77F #7FB9EB #B17FEB
monochromatic
#CFC920 #E3DD4A #EBE77F #F3F1B4 #FBFAE5

Accessibility & contrast

On white

1.29
#EBE77F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#EBE77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE77F
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE77F#FFFFFF#000000##000000
##EBE77F1.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E076
Deuteranopia (green-blind)
#F9E584
Tritanopia (blue-blind)
#F9DBCF
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ebe77f;
/* rgb */ color: rgb(235, 231, 127);
/* oklch */ color: oklch(91.0% 0.127 106.7);
Tailwind
colors: {
  custom: {
    50: '#f3eea6',
    500: '#ebe77f',
    950: '#000000',
  },
}
SCSS
$custom: #ebe77f;
$custom-light: #f3eea6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe77f",
  "rgb": {
    "r": 235,
    "g": 231,
    "b": 127
  },
  "hsl": {
    "h": 57.778,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90954,
    "c": 0.12672,
    "h": 106.7
  },
  "luminance": 0.76346
}

Semantic roles & 50–950 ramp

primary
#EBE77F
secondary
#4A4EC4
accent
#18D510
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EBE77F

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

Preview Lab → · Contrast checker → · Palette generator →

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