#F7CC45#F7CC45

#F7CC45 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 86.0% C 0.154 H 90.6°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#F7CC45
RGBrgb(247, 204, 69)
HSLhsl(46, 92%, 62%)
HSVhsv(46, 72%, 97%)
CMYKcmyk(0%, 17.4%, 72.1%, 3.1%)
CIE-LABlab(83.65, 1.83, 69.32)
CIE-LCHlch(83.65, 69.35, 88.49°)
OKLaboklab(85.98% -0.0017 0.1535)
OKLCHoklch(85.98% 0.154 90.6)
XYZxyz(61.0282, 63.3933, 14.6508)
Luminance0.6339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7CC45 #4570F7
analogous
#F77345 #F7CC45 #C9F745
triadic
#F7CC45 #45F7CC #CC45F7
tetradic
#F7CC45 #45F773 #4570F7 #F745C9
square
#F7CC45 #45F773 #4570F7 #F745C9
split-complementary
#F7CC45 #45C9F7 #7345F7
monochromatic
#BA8F08 #F4BC0B #F7CC45 #FADC80 #FCECBA

Accessibility & contrast

On white

1.54
#F7CC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#F7CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7CC45
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7CC45#FFFFFF#000000##000000
##F7CC451.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C930
Deuteranopia (green-blind)
#EDD64C
Tritanopia (blue-blind)
#FFBBB1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f7cc45;
/* rgb */ color: rgb(247, 204, 69);
/* oklch */ color: oklch(86.0% 0.154 90.6);
Tailwind
colors: {
  custom: {
    50: '#fedb81',
    500: '#f7cc45',
    950: '#000000',
  },
}
SCSS
$custom: #f7cc45;
$custom-light: #fedb81;
$custom-dark: #000000;
JSON
{
  "hex": "#f7cc45",
  "rgb": {
    "r": 247,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 45.506,
    "s": 91.753,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8598,
    "c": 0.15351,
    "h": 90.6
  },
  "luminance": 0.6339
}

Semantic roles & 50–950 ramp

primary
#F7CC45
secondary
#284BB8
accent
#37E600
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#19140B
muted
#87837E

Preview Lab

Preview with #F7CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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