#FFEF7F#FFEF7F

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

Color values

HEX#FFEF7F
RGBrgb(255, 239, 127)
HSLhsl(53, 100%, 75%)
HSVhsv(53, 50%, 100%)
CMYKcmyk(0%, 6.3%, 50.2%, 0%)
CIE-LABlab(93.68, -8.80, 55.59)
CIE-LCHlch(93.68, 56.28, 98.99°)
OKLaboklab(94.25% -0.0262 0.1316)
OKLCHoklch(94.25% 0.134 101.3)
XYZxyz(75.9395, 84.5279, 32.3899)
Luminance0.8452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF7F #7F8FFF
analogous
#FFAF7F #FFEF7F #CFFF7F
triadic
#FFEF7F #7FFFEF #EF7FFF
tetradic
#FFEF7F #7FFFAF #7F8FFF #FF7FCF
square
#FFEF7F #7FFFAF #7F8FFF #FF7FCF
split-complementary
#FFEF7F #7FCFFF #AF7FFF
monochromatic
#FFE005 #FFE742 #FFEF7F #FFF7BC #FFFBE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFEF7F#FFFFFF#000000##000000
##FFEF7F1.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)
#FFE975
Deuteranopia (green-blind)
#FFF084
Tritanopia (blue-blind)
#FFE1D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef7f;
/* rgb */ color: rgb(255, 239, 127);
/* oklch */ color: oklch(94.2% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#fff4a6',
    500: '#ffef7f',
    950: '#000000',
  },
}
SCSS
$custom: #ffef7f;
$custom-light: #fff4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef7f",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 127
  },
  "hsl": {
    "h": 52.5,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.94248,
    "c": 0.13422,
    "h": 101.3
  },
  "luminance": 0.84525
}

Semantic roles & 50–950 ramp

primary
#FFEF7F
secondary
#4457DE
accent
#1DE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FFEF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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