#FFEB7C#FFEB7C

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

Color values

HEX#FFEB7C
RGBrgb(255, 235, 124)
HSLhsl(51, 100%, 74%)
HSVhsv(51, 51%, 100%)
CMYKcmyk(0%, 7.8%, 51.4%, 0%)
CIE-LABlab(92.63, -7.06, 55.74)
CIE-LCHlch(92.63, 56.19, 97.22°)
OKLaboklab(93.41% -0.0215 0.1317)
OKLCHoklch(93.41% 0.133 99.3)
XYZxyz(74.5888, 82.1347, 30.9895)
Luminance0.8213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB7C #7C90FF
analogous
#FFAA7C #FFEB7C #D1FF7C
triadic
#FFEB7C #7CFFEB #EB7CFF
tetradic
#FFEB7C #7CFFAA #7C90FF #FF7CD1
square
#FFEB7C #7CFFAA #7C90FF #FF7CD1
split-complementary
#FFEB7C #7CD1FF #AA7CFF
monochromatic
#FFD802 #FFE23F #FFEB7C #FFF4B9 #FFFAE0

Accessibility & contrast

On white

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

On black

17.43
#FFEB7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB7C
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB7C#FFFFFF#000000##000000
##FFEB7C1.001.2117.4317.43
#FFFFFF1.211.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffeb7c;
/* rgb */ color: rgb(255, 235, 124);
/* oklch */ color: oklch(93.4% 0.133 99.3);
Tailwind
colors: {
  custom: {
    50: '#fff1a4',
    500: '#ffeb7c',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb7c;
$custom-light: #fff1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb7c",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 124
  },
  "hsl": {
    "h": 50.84,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.93409,
    "c": 0.13345,
    "h": 99.3
  },
  "luminance": 0.82132
}

Semantic roles & 50–950 ramp

primary
#FFEB7C
secondary
#4259DE
accent
#23E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFEB7C

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

Preview Lab → · Contrast checker → · Palette generator →

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