#FFEB7B#FFEB7B

#FFEB7B is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.4% C 0.134 H 99.4°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#FFEB7B
RGBrgb(255, 235, 123)
HSLhsl(51, 100%, 74%)
HSVhsv(51, 52%, 100%)
CMYKcmyk(0%, 7.8%, 51.8%, 0%)
CIE-LABlab(92.62, -7.14, 56.19)
CIE-LCHlch(92.62, 56.65, 97.24°)
OKLaboklab(93.4% -0.0219 0.1326)
OKLCHoklch(93.4% 0.134 99.4)
XYZxyz(74.5259, 82.1095, 30.6581)
Luminance0.8211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB7B #7B8FFF
analogous
#FFA97B #FFEB7B #D1FF7B
triadic
#FFEB7B #7BFFEB #EB7BFF
tetradic
#FFEB7B #7BFFA9 #7B8FFF #FF7BD1
square
#FFEB7B #7BFFA9 #7B8FFF #FF7BD1
split-complementary
#FFEB7B #7BD1FF #A97BFF
monochromatic
#FFD801 #FFE23E #FFEB7B #FFF4B8 #FFFAE0

Accessibility & contrast

On white

1.21
#FFEB7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.42
#FFEB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB7B
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB7B#FFFFFF#000000##000000
##FFEB7B1.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE571
Deuteranopia (green-blind)
#FFED80
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffeb7b;
/* rgb */ color: rgb(255, 235, 123);
/* oklch */ color: oklch(93.4% 0.134 99.4);
Tailwind
colors: {
  custom: {
    50: '#fff1a4',
    500: '#ffeb7b',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb7b;
$custom-light: #fff1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb7b",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 123
  },
  "hsl": {
    "h": 50.909,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.93396,
    "c": 0.13439,
    "h": 99.4
  },
  "luminance": 0.82107
}

Semantic roles & 50–950 ramp

primary
#FFEB7B
secondary
#4159DD
accent
#23E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFEB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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