#FED968#FED968

#FED968 is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.5% C 0.137 H 91.3°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#FED968
RGBrgb(254, 217, 104)
HSLhsl(45, 99%, 70%)
HSVhsv(45, 59%, 100%)
CMYKcmyk(0%, 14.6%, 59.1%, 0.4%)
CIE-LABlab(87.82, 0.09, 59.31)
CIE-LCHlch(87.82, 59.31, 89.92°)
OKLaboklab(89.52% -0.0031 0.1374)
OKLCHoklch(89.52% 0.137 91.3)
XYZxyz(68.1877, 71.6996, 23.3418)
Luminance0.7170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FED968 #688DFE
analogous
#FE8E68 #FED968 #D8FE68
triadic
#FED968 #68FED9 #D968FE
tetradic
#FED968 #68FE8E #688DFE #FE68D8
square
#FED968 #68FE8E #688DFE #FE68D8
split-complementary
#FED968 #68D8FE #8E68FE
monochromatic
#EAB102 #FECA2B #FED968 #FEE8A5 #FFF7E1

Accessibility & contrast

On white

1.37
#FED968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#FED968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FED968
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FED968#FFFFFF#000000##000000
##FED9681.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED65D
Deuteranopia (green-blind)
#F7E16D
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #fed968;
/* rgb */ color: rgb(254, 217, 104);
/* oklch */ color: oklch(89.5% 0.137 91.3);
Tailwind
colors: {
  custom: {
    50: '#ffe497',
    500: '#fed968',
    950: '#000000',
  },
}
SCSS
$custom: #fed968;
$custom-light: #ffe497;
$custom-dark: #000000;
JSON
{
  "hex": "#fed968",
  "rgb": {
    "r": 254,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 45.2,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89516,
    "c": 0.1374,
    "h": 91.3
  },
  "luminance": 0.71696
}

Semantic roles & 50–950 ramp

primary
#FED968
secondary
#315AD9
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#19150E
muted
#87847F

Preview Lab

Preview with #FED968

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

Preview Lab → · Contrast checker → · Palette generator →

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