#FEDF7F#FEDF7F

#FEDF7F is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 91.0% C 0.121 H 92.0°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#FEDF7F
RGBrgb(254, 223, 127)
HSLhsl(45, 98%, 75%)
HSVhsv(45, 50%, 100%)
CMYKcmyk(0%, 12.2%, 50%, 0.4%)
CIE-LABlab(89.57, -1.18, 50.62)
CIE-LCHlch(89.57, 50.63, 91.33°)
OKLaboklab(90.98% -0.0042 0.1207)
OKLCHoklch(90.98% 0.121 92)
XYZxyz(71.0940, 75.3817, 30.8799)
Luminance0.7538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEDF7F #7F9EFE
analogous
#FE9F7F #FEDF7F #DEFE7F
triadic
#FEDF7F #7FFEDF #DF7FFE
tetradic
#FEDF7F #7FFE9F #7F9EFE #FE7FDE
square
#FEDF7F #7FFE9F #7F9EFE #FE7FDE
split-complementary
#FEDF7F #7FDEFE #9F7FFE
monochromatic
#FDC106 #FED042 #FEDF7F #FEEEBC #FFF7E1

Accessibility & contrast

On white

1.31
#FEDF7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.08
#FEDF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEDF7F
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEDF7F#FFFFFF#000000##000000
##FEDF7F1.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC77
Deuteranopia (green-blind)
#F9E583
Tritanopia (blue-blind)
#FFD1C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fedf7f;
/* rgb */ color: rgb(254, 223, 127);
/* oklch */ color: oklch(91.0% 0.121 92.0);
Tailwind
colors: {
  custom: {
    50: '#ffe8a6',
    500: '#fedf7f',
    950: '#000000',
  },
}
SCSS
$custom: #fedf7f;
$custom-light: #ffe8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fedf7f",
  "rgb": {
    "r": 254,
    "g": 223,
    "b": 127
  },
  "hsl": {
    "h": 45.354,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.90977,
    "c": 0.12078,
    "h": 92
  },
  "luminance": 0.75378
}

Semantic roles & 50–950 ramp

primary
#FEDF7F
secondary
#456ADD
accent
#38E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FEDF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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