#F7CF54#F7CF54

#F7CF54 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.7% C 0.145 H 90.9°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#F7CF54
RGBrgb(247, 207, 84)
HSLhsl(45, 91%, 65%)
HSVhsv(45, 66%, 97%)
CMYKcmyk(0%, 16.2%, 66%, 3.1%)
CIE-LABlab(84.51, 1.05, 64.22)
CIE-LCHlch(84.51, 64.22, 89.06°)
OKLaboklab(86.69% -0.0022 0.1453)
OKLCHoklch(86.69% 0.145 90.9)
XYZxyz(62.2740, 65.0435, 17.6604)
Luminance0.6504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7CF54 #547CF7
analogous
#F77E54 #F7CF54 #CEF754
triadic
#F7CF54 #54F7CF #CF54F7
tetradic
#F7CF54 #54F77E #547CF7 #F754CE
square
#F7CF54 #54F77E #547CF7 #F754CE
split-complementary
#F7CF54 #54CEF7 #7E54F7
monochromatic
#C79909 #F4BF1A #F7CF54 #FADF8E #FCF0C9

Accessibility & contrast

On white

1.50
#F7CF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#F7CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7CF54
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7CF54#FFFFFF#000000##000000
##F7CF541.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC45
Deuteranopia (green-blind)
#EED85A
Tritanopia (blue-blind)
#FFBFB5
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f7cf54;
/* rgb */ color: rgb(247, 207, 84);
/* oklch */ color: oklch(86.7% 0.145 90.9);
Tailwind
colors: {
  custom: {
    50: '#fedd8a',
    500: '#f7cf54',
    950: '#000000',
  },
}
SCSS
$custom: #f7cf54;
$custom-light: #fedd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7cf54",
  "rgb": {
    "r": 247,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 45.276,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86691,
    "c": 0.14527,
    "h": 90.9
  },
  "luminance": 0.6504
}

Semantic roles & 50–950 ramp

primary
#F7CF54
secondary
#2B51C4
accent
#38E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F7CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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