#FDF267#FDF267

#FDF267 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.4% C 0.158 H 104.8°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#FDF267
RGBrgb(253, 242, 103)
HSLhsl(56, 97%, 70%)
HSVhsv(56, 59%, 99%)
CMYKcmyk(0%, 4.3%, 59.3%, 0.8%)
CIE-LABlab(94.04, -12.87, 66.66)
CIE-LCHlch(94.04, 67.89, 100.93°)
OKLaboklab(94.42% -0.0403 0.153)
OKLCHoklch(94.42% 0.158 104.8)
XYZxyz(74.7109, 85.3688, 25.3717)
Luminance0.8537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF267 #6772FD
analogous
#FDA767 #FDF267 #BDFD67
triadic
#FDF267 #67FDF2 #F267FD
tetradic
#FDF267 #67FDA7 #6772FD #FD67BD
square
#FDF267 #67FDA7 #6772FD #FD67BD
split-complementary
#FDF267 #67BDFD #A767FD
monochromatic
#E7D603 #FCED2B #FDF267 #FEF7A3 #FFFCE0

Accessibility & contrast

On white

1.16
#FDF267 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.07
#FDF267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF267
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF267#FFFFFF#000000##000000
##FDF2671.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA57
Deuteranopia (green-blind)
#FFF16F
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf267;
/* rgb */ color: rgb(253, 242, 103);
/* oklch */ color: oklch(94.4% 0.158 104.8);
Tailwind
colors: {
  custom: {
    50: '#fff697',
    500: '#fdf267',
    950: '#000000',
  },
}
SCSS
$custom: #fdf267;
$custom-light: #fff697;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf267",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 103
  },
  "hsl": {
    "h": 55.6,
    "s": 97.403,
    "l": 69.804
  },
  "oklch": {
    "l": 0.9442,
    "c": 0.15819,
    "h": 104.8
  },
  "luminance": 0.85366
}

Semantic roles & 50–950 ramp

primary
#FDF267
secondary
#303DD8
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF267

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

Preview Lab → · Contrast checker → · Palette generator →

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