#F7DF7B#F7DF7B

#F7DF7B is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.3% C 0.123 H 96.2°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#F7DF7B
RGBrgb(247, 223, 123)
HSLhsl(48, 89%, 73%)
HSVhsv(48, 50%, 97%)
CMYKcmyk(0%, 9.7%, 50.2%, 3.1%)
CIE-LABlab(88.91, -4.32, 51.59)
CIE-LCHlch(88.91, 51.77, 94.78°)
OKLaboklab(90.3% -0.0133 0.1226)
OKLCHoklch(90.3% 0.123 96.2)
XYZxyz(68.3228, 73.9823, 29.4162)
Luminance0.7398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF7B #7B93F7
analogous
#F7A17B #F7DF7B #D1F77B
triadic
#F7DF7B #7BF7DF #DF7BF7
tetradic
#F7DF7B #7BF7A1 #7B93F7 #F77BD1
square
#F7DF7B #7BF7A1 #7B93F7 #F77BD1
split-complementary
#F7DF7B #7BD1F7 #A17BF7
monochromatic
#E9BF0E #F4D141 #F7DF7B #FAEDB5 #FDF8E2

Accessibility & contrast

On white

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

On black

15.80
#F7DF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF7B
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF7B#FFFFFF#000000##000000
##F7DF7B1.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB72
Deuteranopia (green-blind)
#F7E37F
Tritanopia (blue-blind)
#FFD2C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f7df7b;
/* rgb */ color: rgb(247, 223, 123);
/* oklch */ color: oklch(90.3% 0.123 96.2);
Tailwind
colors: {
  custom: {
    50: '#fce8a3',
    500: '#f7df7b',
    950: '#000000',
  },
}
SCSS
$custom: #f7df7b;
$custom-light: #fce8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df7b",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 123
  },
  "hsl": {
    "h": 48.387,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90298,
    "c": 0.12336,
    "h": 96.2
  },
  "luminance": 0.7398
}

Semantic roles & 50–950 ramp

primary
#F7DF7B
secondary
#435FD3
accent
#2DE500
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7DF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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