#F7DE7B#F7DE7B

#F7DE7B is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 90.1% C 0.123 H 95.5°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#F7DE7B
RGBrgb(247, 222, 123)
HSLhsl(48, 89%, 73%)
HSVhsv(48, 50%, 97%)
CMYKcmyk(0%, 10.1%, 50.2%, 3.1%)
CIE-LABlab(88.66, -3.81, 51.29)
CIE-LCHlch(88.66, 51.43, 94.25°)
OKLaboklab(90.1% -0.0118 0.122)
OKLCHoklch(90.1% 0.123 95.5)
XYZxyz(68.0565, 73.4496, 29.3274)
Luminance0.7345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DE7B #7B94F7
analogous
#F7A07B #F7DE7B #D2F77B
triadic
#F7DE7B #7BF7DE #DE7BF7
tetradic
#F7DE7B #7BF7A0 #7B94F7 #F77BD2
square
#F7DE7B #7BF7A0 #7B94F7 #F77BD2
split-complementary
#F7DE7B #7BD2F7 #A07BF7
monochromatic
#E9BD0E #F4D041 #F7DE7B #FAECB5 #FDF8E2

Accessibility & contrast

On white

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

On black

15.69
#F7DE7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DE7B
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DE7B#FFFFFF#000000##000000
##F7DE7B1.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA72
Deuteranopia (green-blind)
#F6E27F
Tritanopia (blue-blind)
#FFD1C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f7de7b;
/* rgb */ color: rgb(247, 222, 123);
/* oklch */ color: oklch(90.1% 0.123 95.5);
Tailwind
colors: {
  custom: {
    50: '#fce8a3',
    500: '#f7de7b',
    950: '#000000',
  },
}
SCSS
$custom: #f7de7b;
$custom-light: #fce8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7de7b",
  "rgb": {
    "r": 247,
    "g": 222,
    "b": 123
  },
  "hsl": {
    "h": 47.903,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90099,
    "c": 0.12254,
    "h": 95.5
  },
  "luminance": 0.73447
}

Semantic roles & 50–950 ramp

primary
#F7DE7B
secondary
#4360D3
accent
#2EE500
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7DE7B

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

Preview Lab → · Contrast checker → · Palette generator →

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