#EBE74E#EBE74E

#EBE74E is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.4% C 0.168 H 107.9°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#EBE74E
RGBrgb(235, 231, 78)
HSLhsl(58, 80%, 61%)
HSVhsv(58, 67%, 92%)
CMYKcmyk(0%, 1.7%, 66.8%, 7.8%)
CIE-LABlab(89.56, -16.28, 71.49)
CIE-LCHlch(89.56, 73.32, 102.83°)
OKLaboklab(90.44% -0.0516 0.16)
OKLCHoklch(90.44% 0.168 107.9)
XYZxyz(64.2143, 75.3661, 18.3708)
Luminance0.7536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE74E #4E52EB
analogous
#EB994E #EBE74E #A1EB4E
triadic
#EBE74E #4EEBE7 #E74EEB
tetradic
#EBE74E #4EEB99 #4E52EB #EB4EA1
square
#EBE74E #4EEB99 #4E52EB #EB4EA1
split-complementary
#EBE74E #4EA1EB #994EEB
monochromatic
#ABA713 #E2DD1A #EBE74E #F1EE85 #F7F6BC

Accessibility & contrast

On white

1.31
#EBE74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#EBE74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE74E
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE74E#FFFFFF#000000##000000
##EBE74E1.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE37
Deuteranopia (green-blind)
#FCE458
Tritanopia (blue-blind)
#FBD8C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ebe74e;
/* rgb */ color: rgb(235, 231, 78);
/* oklch */ color: oklch(90.4% 0.168 107.9);
Tailwind
colors: {
  custom: {
    50: '#f5ee88',
    500: '#ebe74e',
    950: '#000000',
  },
}
SCSS
$custom: #ebe74e;
$custom-light: #f5ee88;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe74e",
  "rgb": {
    "r": 235,
    "g": 231,
    "b": 78
  },
  "hsl": {
    "h": 58.471,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.90443,
    "c": 0.16815,
    "h": 107.9
  },
  "luminance": 0.75364
}

Semantic roles & 50–950 ramp

primary
#EBE74E
secondary
#3134AC
accent
#0FDC09
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #EBE74E

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

Preview Lab → · Contrast checker → · Palette generator →

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