#FFEF7B#FFEF7B

#FFEF7B is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 94.2% C 0.138 H 101.5°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#FFEF7B
RGBrgb(255, 239, 123)
HSLhsl(53, 100%, 74%)
HSVhsv(53, 52%, 100%)
CMYKcmyk(0%, 6.3%, 51.8%, 0%)
CIE-LABlab(93.64, -9.13, 57.39)
CIE-LCHlch(93.64, 58.11, 99.04°)
OKLaboklab(94.2% -0.0276 0.1352)
OKLCHoklch(94.2% 0.138 101.5)
XYZxyz(75.6840, 84.4257, 31.0441)
Luminance0.8442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF7B #7B8BFF
analogous
#FFAD7B #FFEF7B #CDFF7B
triadic
#FFEF7B #7BFFEF #EF7BFF
tetradic
#FFEF7B #7BFFAD #7B8BFF #FF7BCD
square
#FFEF7B #7BFFAD #7B8BFF #FF7BCD
split-complementary
#FFEF7B #7BCDFF #AD7BFF
monochromatic
#FFE001 #FFE83E #FFEF7B #FFF6B8 #FFFBE0

Accessibility & contrast

On white

1.17
#FFEF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.88
#FFEF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF7B
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF7B#FFFFFF#000000##000000
##FFEF7B1.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE970
Deuteranopia (green-blind)
#FFF080
Tritanopia (blue-blind)
#FFE1D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef7b;
/* rgb */ color: rgb(255, 239, 123);
/* oklch */ color: oklch(94.2% 0.138 101.5);
Tailwind
colors: {
  custom: {
    50: '#fff4a4',
    500: '#ffef7b',
    950: '#000000',
  },
}
SCSS
$custom: #ffef7b;
$custom-light: #fff4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef7b",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 123
  },
  "hsl": {
    "h": 52.727,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94199,
    "c": 0.138,
    "h": 101.5
  },
  "luminance": 0.84423
}

Semantic roles & 50–950 ramp

primary
#FFEF7B
secondary
#4154DD
accent
#1CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFEF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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