#FFEF7E#FFEF7E

#FFEF7E is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.2% C 0.135 H 101.3°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#FFEF7E
RGBrgb(255, 239, 126)
HSLhsl(53, 100%, 75%)
HSVhsv(53, 51%, 100%)
CMYKcmyk(0%, 6.3%, 50.6%, 0%)
CIE-LABlab(93.67, -8.88, 56.04)
CIE-LCHlch(93.67, 56.74, 99.00°)
OKLaboklab(94.24% -0.0266 0.1325)
OKLCHoklch(94.24% 0.135 101.3)
XYZxyz(75.8747, 84.5020, 32.0484)
Luminance0.8450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF7E #7E8EFF
analogous
#FFAF7E #FFEF7E #CFFF7E
triadic
#FFEF7E #7EFFEF #EF7EFF
tetradic
#FFEF7E #7EFFAF #7E8EFF #FF7ECF
square
#FFEF7E #7EFFAF #7E8EFF #FF7ECF
split-complementary
#FFEF7E #7ECFFF #AF7EFF
monochromatic
#FFE004 #FFE741 #FFEF7E #FFF7BB #FFFBE0

Accessibility & contrast

On white

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

On black

17.90
#FFEF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF7E
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF7E#FFFFFF#000000##000000
##FFEF7E1.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE974
Deuteranopia (green-blind)
#FFF083
Tritanopia (blue-blind)
#FFE1D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef7e;
/* rgb */ color: rgb(255, 239, 126);
/* oklch */ color: oklch(94.2% 0.135 101.3);
Tailwind
colors: {
  custom: {
    50: '#fff4a6',
    500: '#ffef7e',
    950: '#000000',
  },
}
SCSS
$custom: #ffef7e;
$custom-light: #fff4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef7e",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 126
  },
  "hsl": {
    "h": 52.558,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94235,
    "c": 0.13517,
    "h": 101.3
  },
  "luminance": 0.84499
}

Semantic roles & 50–950 ramp

primary
#FFEF7E
secondary
#4356DE
accent
#1CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFEF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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