#F7DF6B#F7DF6B

#F7DF6B is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.1% C 0.138 H 97.8°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#F7DF6B
RGBrgb(247, 223, 107)
HSLhsl(50, 90%, 69%)
HSVhsv(50, 57%, 97%)
CMYKcmyk(0%, 9.7%, 56.7%, 3.1%)
CIE-LABlab(88.74, -5.59, 58.83)
CIE-LCHlch(88.74, 59.10, 95.43°)
OKLaboklab(90.1% -0.0187 0.1368)
OKLCHoklch(90.1% 0.138 97.8)
XYZxyz(67.4019, 73.6139, 24.5656)
Luminance0.7361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF6B #6B83F7
analogous
#F7996B #F7DF6B #C9F76B
triadic
#F7DF6B #6BF7DF #DF6BF7
tetradic
#F7DF6B #6BF799 #6B83F7 #F76BC9
square
#F7DF6B #6BF799 #6B83F7 #F76BC9
split-complementary
#F7DF6B #6BC9F7 #996BF7
monochromatic
#DCB80C #F4D231 #F7DF6B #FAECA5 #FDF8DF

Accessibility & contrast

On white

1.34
#F7DF6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.72
#F7DF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF6B
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF6B#FFFFFF#000000##000000
##F7DF6B1.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA5F
Deuteranopia (green-blind)
#F9E270
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f7df6b;
/* rgb */ color: rgb(247, 223, 107);
/* oklch */ color: oklch(90.1% 0.138 97.8);
Tailwind
colors: {
  custom: {
    50: '#fde899',
    500: '#f7df6b',
    950: '#000000',
  },
}
SCSS
$custom: #f7df6b;
$custom-light: #fde899;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df6b",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 107
  },
  "hsl": {
    "h": 49.714,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90104,
    "c": 0.13811,
    "h": 97.8
  },
  "luminance": 0.73611
}

Semantic roles & 50–950 ramp

primary
#F7DF6B
secondary
#3550D1
accent
#27E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7DF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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