#FEDF6B#FEDF6B

#FEDF6B is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.7% C 0.139 H 94.5°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#FEDF6B
RGBrgb(254, 223, 107)
HSLhsl(47, 99%, 71%)
HSVhsv(47, 58%, 100%)
CMYKcmyk(0%, 12.2%, 57.9%, 0.4%)
CIE-LABlab(89.35, -2.74, 59.69)
CIE-LCHlch(89.35, 59.75, 92.63°)
OKLaboklab(90.73% -0.0109 0.1385)
OKLCHoklch(90.73% 0.139 94.5)
XYZxyz(69.9175, 74.9111, 24.6836)
Luminance0.7491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEDF6B #6B8AFE
analogous
#FE956B #FEDF6B #D3FE6B
triadic
#FEDF6B #6BFEDF #DF6BFE
tetradic
#FEDF6B #6BFE95 #6B8AFE #FE6BD3
square
#FEDF6B #6BFE95 #6B8AFE #FE6BD3
split-complementary
#FEDF6B #6BD3FE #956BFE
monochromatic
#EDBB02 #FED22E #FEDF6B #FEECA8 #FFF8E1

Accessibility & contrast

On white

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

On black

15.98
#FEDF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEDF6B
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEDF6B#FFFFFF#000000##000000
##FEDF6B1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB5F
Deuteranopia (green-blind)
#FBE570
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #fedf6b;
/* rgb */ color: rgb(254, 223, 107);
/* oklch */ color: oklch(90.7% 0.139 94.5);
Tailwind
colors: {
  custom: {
    50: '#ffe899',
    500: '#fedf6b',
    950: '#000000',
  },
}
SCSS
$custom: #fedf6b;
$custom-light: #ffe899;
$custom-dark: #000000;
JSON
{
  "hex": "#fedf6b",
  "rgb": {
    "r": 254,
    "g": 223,
    "b": 107
  },
  "hsl": {
    "h": 47.347,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90732,
    "c": 0.13897,
    "h": 94.5
  },
  "luminance": 0.74908
}

Semantic roles & 50–950 ramp

primary
#FEDF6B
secondary
#3357DA
accent
#30E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FEDF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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