#FFEB7F#FFEB7F

#FFEB7F is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.4% C 0.131 H 99.0°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#FFEB7F
RGBrgb(255, 235, 127)
HSLhsl(51, 100%, 75%)
HSVhsv(51, 50%, 100%)
CMYKcmyk(0%, 7.8%, 50.2%, 0%)
CIE-LABlab(92.67, -6.81, 54.38)
CIE-LCHlch(92.67, 54.81, 97.14°)
OKLaboklab(93.45% -0.0205 0.129)
OKLCHoklch(93.45% 0.131 99)
XYZxyz(74.7814, 82.2118, 32.0039)
Luminance0.8221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB7F #7F93FF
analogous
#FFAB7F #FFEB7F #D3FF7F
triadic
#FFEB7F #7FFFEB #EB7FFF
tetradic
#FFEB7F #7FFFAB #7F93FF #FF7FD3
square
#FFEB7F #7FFFAB #7F93FF #FF7FD3
split-complementary
#FFEB7F #7FD3FF #AB7FFF
monochromatic
#FFD805 #FFE142 #FFEB7F #FFF5BC #FFFAE0

Accessibility & contrast

On white

1.20
#FFEB7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.44
#FFEB7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB7F
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB7F#FFFFFF#000000##000000
##FFEB7F1.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE675
Deuteranopia (green-blind)
#FFED84
Tritanopia (blue-blind)
#FFDDD2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffeb7f;
/* rgb */ color: rgb(255, 235, 127);
/* oklch */ color: oklch(93.4% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#fff1a6',
    500: '#ffeb7f',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb7f;
$custom-light: #fff1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb7f",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 127
  },
  "hsl": {
    "h": 50.625,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.93447,
    "c": 0.1306,
    "h": 99
  },
  "luminance": 0.82209
}

Semantic roles & 50–950 ramp

primary
#FFEB7F
secondary
#445CDE
accent
#24E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #FFEB7F

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

Preview Lab → · Contrast checker → · Palette generator →

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