#F7DF6F#F7DF6F

#F7DF6F is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 90.1% C 0.135 H 97.4°. Best body text is #000000 at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#F7DF6F
RGBrgb(247, 223, 111)
HSLhsl(49, 89%, 70%)
HSVhsv(49, 55%, 97%)
CMYKcmyk(0%, 9.7%, 55.1%, 3.1%)
CIE-LABlab(88.78, -5.29, 57.06)
CIE-LCHlch(88.78, 57.30, 95.30°)
OKLaboklab(90.15% -0.0174 0.1334)
OKLCHoklch(90.15% 0.135 97.4)
XYZxyz(67.6172, 73.7001, 25.6997)
Luminance0.7370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF6F #6F87F7
analogous
#F79B6F #F7DF6F #CBF76F
triadic
#F7DF6F #6FF7DF #DF6FF7
tetradic
#F7DF6F #6FF79B #6F87F7 #F76FCB
square
#F7DF6F #6FF79B #6F87F7 #F76FCB
split-complementary
#F7DF6F #6FCBF7 #9B6FF7
monochromatic
#DFBA0C #F4D235 #F7DF6F #FAECA9 #FDF9E2

Accessibility & contrast

On white

1.33
#F7DF6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.74
#F7DF6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF6F
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF6F#FFFFFF#000000##000000
##F7DF6F1.001.3315.7415.74
#FFFFFF1.331.0021.0021.00
#00000015.7421.001.001.00
##00000015.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA64
Deuteranopia (green-blind)
#F8E274
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f7df6f;
/* rgb */ color: rgb(247, 223, 111);
/* oklch */ color: oklch(90.1% 0.135 97.4);
Tailwind
colors: {
  custom: {
    50: '#fce89b',
    500: '#f7df6f',
    950: '#000000',
  },
}
SCSS
$custom: #f7df6f;
$custom-light: #fce89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df6f",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 111
  },
  "hsl": {
    "h": 49.412,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.9015,
    "c": 0.13457,
    "h": 97.4
  },
  "luminance": 0.73697
}

Semantic roles & 50–950 ramp

primary
#F7DF6F
secondary
#3954D1
accent
#28E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7DF6F

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

Preview Lab → · Contrast checker → · Palette generator →

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