#FEFA6D#FEFA6D

#FEFA6D is a very light, vivid yellow. Relative luminance 0.905; OKLCH L 96.2% C 0.161 H 107.6°. Best body text is #000000 at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#FEFA6D
RGBrgb(254, 250, 109)
HSLhsl(58, 99%, 71%)
HSVhsv(58, 57%, 100%)
CMYKcmyk(0%, 1.6%, 57.1%, 0.4%)
CIE-LABlab(96.22, -15.96, 66.54)
CIE-LCHlch(96.22, 68.43, 103.49°)
OKLaboklab(96.19% -0.0486 0.1534)
OKLCHoklch(96.19% 0.161 107.6)
XYZxyz(77.8213, 90.5484, 27.8433)
Luminance0.9055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA6D #6D71FE
analogous
#FEB16D #FEFA6D #B9FE6D
triadic
#FEFA6D #6DFEFA #FA6DFE
tetradic
#FEFA6D #6DFEB1 #6D71FE #FE6DB9
square
#FEFA6D #6DFEB1 #6D71FE #FE6DB9
split-complementary
#FEFA6D #6DB9FE #B16DFE
monochromatic
#EFE802 #FEF830 #FEFA6D #FEFCAA #FFFEE1

Accessibility & contrast

On white

1.10
#FEFA6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.11
#FEFA6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA6D
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA6D#FFFFFF#000000##000000
##FEFA6D1.001.1019.1119.11
#FFFFFF1.101.0021.0021.00
#00000019.1121.001.001.00
##00000019.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF15E
Deuteranopia (green-blind)
#FFF775
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fefa6d;
/* rgb */ color: rgb(254, 250, 109);
/* oklch */ color: oklch(96.2% 0.161 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffb9c',
    500: '#fefa6d',
    950: '#000000',
  },
}
SCSS
$custom: #fefa6d;
$custom-light: #fffb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa6d",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 109
  },
  "hsl": {
    "h": 58.345,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.96193,
    "c": 0.16094,
    "h": 107.6
  },
  "luminance": 0.90546
}

Semantic roles & 50–950 ramp

primary
#FEFA6D
secondary
#353ADA
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEFA6D

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

Preview Lab → · Contrast checker → · Palette generator →

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