#EBE78E#EBE78E

#EBE78E is a very light, moderate yellow. Relative luminance 0.768; OKLCH L 91.2% C 0.111 H 106.2°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#EBE78E
RGBrgb(235, 231, 142)
HSLhsl(57, 70%, 74%)
HSVhsv(57, 40%, 92%)
CMYKcmyk(0%, 1.7%, 39.6%, 7.8%)
CIE-LABlab(90.22, -11.25, 43.77)
CIE-LCHlch(90.22, 45.19, 104.41°)
OKLaboklab(91.17% -0.0309 0.1065)
OKLCHoklch(91.17% 0.111 106.2)
XYZxyz(67.7204, 76.7685, 36.8364)
Luminance0.7677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE78E #8E92EB
analogous
#EBB98E #EBE78E #C1EB8E
triadic
#EBE78E #8EEBE7 #E78EEB
tetradic
#EBE78E #8EEBB9 #8E92EB #EB8EC1
square
#EBE78E #8EEBB9 #8E92EB #EB8EC1
split-complementary
#EBE78E #8EC1EB #B98EEB
monochromatic
#D8D126 #E2DC5A #EBE78E #F4F2C2 #FAF9E5

Accessibility & contrast

On white

1.28
#EBE78E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.35
#EBE78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE78E
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE78E#FFFFFF#000000##000000
##EBE78E1.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E187
Deuteranopia (green-blind)
#F7E592
Tritanopia (blue-blind)
#F7DCD1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebe78e;
/* rgb */ color: rgb(235, 231, 142);
/* oklch */ color: oklch(91.2% 0.111 106.2);
Tailwind
colors: {
  custom: {
    50: '#f3eeb0',
    500: '#ebe78e',
    950: '#000000',
  },
}
SCSS
$custom: #ebe78e;
$custom-light: #f3eeb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe78e",
  "rgb": {
    "r": 235,
    "g": 231,
    "b": 142
  },
  "hsl": {
    "h": 57.419,
    "s": 69.925,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91172,
    "c": 0.11093,
    "h": 106.2
  },
  "luminance": 0.76767
}

Semantic roles & 50–950 ramp

primary
#EBE78E
secondary
#585CC6
accent
#1CD214
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EBE78E

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

Preview Lab → · Contrast checker → · Palette generator →

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