#FFEB7A#FFEB7A

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

Color values

HEX#FFEB7A
RGBrgb(255, 235, 122)
HSLhsl(51, 100%, 74%)
HSVhsv(51, 52%, 100%)
CMYKcmyk(0%, 7.8%, 52.2%, 0%)
CIE-LABlab(92.61, -7.22, 56.64)
CIE-LCHlch(92.61, 57.10, 97.27°)
OKLaboklab(93.38% -0.0222 0.1335)
OKLCHoklch(93.38% 0.135 99.5)
XYZxyz(74.4636, 82.0846, 30.3301)
Luminance0.8208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB7A #7A8EFF
analogous
#FFA97A #FFEB7A #D1FF7A
triadic
#FFEB7A #7AFFEB #EB7AFF
tetradic
#FFEB7A #7AFFA9 #7A8EFF #FF7AD1
square
#FFEB7A #7AFFA9 #7A8EFF #FF7AD1
split-complementary
#FFEB7A #7AD1FF #A97AFF
monochromatic
#FFD800 #FFE23D #FFEB7A #FFF4B7 #FFFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFEB7A#FFFFFF#000000##000000
##FFEB7A1.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)
#FEE570
Deuteranopia (green-blind)
#FFED7F
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffeb7a;
/* rgb */ color: rgb(255, 235, 122);
/* oklch */ color: oklch(93.4% 0.135 99.5);
Tailwind
colors: {
  custom: {
    50: '#fff1a3',
    500: '#ffeb7a',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb7a;
$custom-light: #fff1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb7a",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 122
  },
  "hsl": {
    "h": 50.977,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.93384,
    "c": 0.13533,
    "h": 99.5
  },
  "luminance": 0.82082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFEB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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