#F7DC89#F7DC89

#F7DC89 is a very light, moderate yellow. Relative luminance 0.728; OKLCH L 89.9% C 0.107 H 92.0°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#F7DC89
RGBrgb(247, 220, 137)
HSLhsl(45, 87%, 75%)
HSVhsv(45, 45%, 97%)
CMYKcmyk(0%, 10.9%, 44.5%, 3.1%)
CIE-LABlab(88.34, -1.52, 44.07)
CIE-LCHlch(88.34, 44.10, 91.97°)
OKLaboklab(89.9% -0.0038 0.1068)
OKLCHoklch(89.9% 0.107 92)
XYZxyz(68.4683, 72.7694, 34.1014)
Luminance0.7277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC89 #89A4F7
analogous
#F7A589 #F7DC89 #DBF789
triadic
#F7DC89 #89F7DC #DC89F7
tetradic
#F7DC89 #89F7A5 #89A4F7 #F789DB
square
#F7DC89 #89F7A5 #89A4F7 #F789DB
split-complementary
#F7DC89 #89DBF7 #A589F7
monochromatic
#EFBA16 #F3CB50 #F7DC89 #FBEDC2 #FDF7E2

Accessibility & contrast

On white

1.35
#F7DC89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#F7DC89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC89
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC89#FFFFFF#000000##000000
##F7DC891.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD983
Deuteranopia (green-blind)
#F4E18C
Tritanopia (blue-blind)
#FFD0C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f7dc89;
/* rgb */ color: rgb(247, 220, 137);
/* oklch */ color: oklch(89.9% 0.107 92.0);
Tailwind
colors: {
  custom: {
    50: '#fce6ac',
    500: '#f7dc89',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc89;
$custom-light: #fce6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc89",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 137
  },
  "hsl": {
    "h": 45.273,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.89901,
    "c": 0.10691,
    "h": 92
  },
  "luminance": 0.72767
}

Semantic roles & 50–950 ramp

primary
#F7DC89
secondary
#5070D5
accent
#39E402
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #F7DC89

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

Preview Lab → · Contrast checker → · Palette generator →

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