#EBEC7B#EBEC7B

#EBEC7B is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 91.9% C 0.136 H 109.3°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#EBEC7B
RGBrgb(235, 236, 123)
HSLhsl(61, 75%, 70%)
HSVhsv(61, 48%, 93%)
CMYKcmyk(0.4%, 0%, 47.9%, 7.5%)
CIE-LABlab(91.27, -15.56, 54.20)
CIE-LCHlch(91.27, 56.39, 106.02°)
OKLaboklab(91.94% -0.0449 0.1285)
OKLCHoklch(91.94% 0.136 109.3)
XYZxyz(67.8330, 79.0847, 30.4266)
Luminance0.7908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEC7B #7C7BEC
analogous
#ECB47B #EBEC7B #B2EC7B
triadic
#EBEC7B #7BEBEC #EC7BEB
tetradic
#EBEC7B #7BECB4 #7C7BEC #EC7BB2
square
#EBEC7B #7BECB4 #7C7BEC #EC7BB2
split-complementary
#EBEC7B #7BB2EC #B47BEC
monochromatic
#CDCF1E #E3E446 #EBEC7B #F3F4B0 #FBFBE4

Accessibility & contrast

On white

1.25
#EBEC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.82
#EBEC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEC7B
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEC7B#FFFFFF#000000##000000
##EBEC7B1.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE471
Deuteranopia (green-blind)
#FDE881
Tritanopia (blue-blind)
#F9E0D2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ebec7b;
/* rgb */ color: rgb(235, 236, 123);
/* oklch */ color: oklch(91.9% 0.136 109.3);
Tailwind
colors: {
  custom: {
    50: '#f3f2a4',
    500: '#ebec7b',
    950: '#000000',
  },
}
SCSS
$custom: #ebec7b;
$custom-light: #f3f2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ebec7b",
  "rgb": {
    "r": 235,
    "g": 236,
    "b": 123
  },
  "hsl": {
    "h": 60.531,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91935,
    "c": 0.13615,
    "h": 109.3
  },
  "luminance": 0.79083
}

Semantic roles & 50–950 ramp

primary
#EBEC7B
secondary
#4746C5
accent
#0FD710
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EBEC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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