#FFEF7C#FFEF7C

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

Color values

HEX#FFEF7C
RGBrgb(255, 239, 124)
HSLhsl(53, 100%, 74%)
HSVhsv(53, 51%, 100%)
CMYKcmyk(0%, 6.3%, 51.4%, 0%)
CIE-LABlab(93.65, -9.05, 56.94)
CIE-LCHlch(93.65, 57.66, 99.03°)
OKLaboklab(94.21% -0.0273 0.1343)
OKLCHoklch(94.21% 0.137 101.5)
XYZxyz(75.7469, 84.4509, 31.3755)
Luminance0.8445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF7C #7C8CFF
analogous
#FFAE7C #FFEF7C #CDFF7C
triadic
#FFEF7C #7CFFEF #EF7CFF
tetradic
#FFEF7C #7CFFAE #7C8CFF #FF7CCD
square
#FFEF7C #7CFFAE #7C8CFF #FF7CCD
split-complementary
#FFEF7C #7CCDFF #AE7CFF
monochromatic
#FFE002 #FFE83F #FFEF7C #FFF6B9 #FFFBE0

Accessibility & contrast

On white

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

On black

17.89
#FFEF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF7C
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF7C#FFFFFF#000000##000000
##FFEF7C1.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffef7c;
/* rgb */ color: rgb(255, 239, 124);
/* oklch */ color: oklch(94.2% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#fff4a5',
    500: '#ffef7c',
    950: '#000000',
  },
}
SCSS
$custom: #ffef7c;
$custom-light: #fff4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef7c",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 124
  },
  "hsl": {
    "h": 52.672,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.94211,
    "c": 0.13706,
    "h": 101.5
  },
  "luminance": 0.84448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFEF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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