#F7D45C#F7D45C

#F7D45C is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.8% C 0.142 H 92.9°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#F7D45C
RGBrgb(247, 212, 92)
HSLhsl(46, 91%, 66%)
HSVhsv(46, 63%, 97%)
CMYKcmyk(0%, 14.2%, 62.8%, 3.1%)
CIE-LABlab(85.82, -1.03, 62.22)
CIE-LCHlch(85.82, 62.23, 90.95°)
OKLaboklab(87.75% -0.0073 0.1422)
OKLCHoklch(87.75% 0.142 92.9)
XYZxyz(63.8360, 67.6372, 19.8160)
Luminance0.6763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D45C #5C7FF7
analogous
#F7875C #F7D45C #CCF75C
triadic
#F7D45C #5CF7D4 #D45CF7
tetradic
#F7D45C #5CF787 #5C7FF7 #F75CCC
square
#F7D45C #5CF787 #5C7FF7 #F75CCC
split-complementary
#F7D45C #5CCCF7 #875CF7
monochromatic
#CEA20A #F4C522 #F7D45C #FAE396 #FDF3D1

Accessibility & contrast

On white

1.45
#F7D45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#F7D45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D45C
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D45C#FFFFFF#000000##000000
##F7D45C1.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D14F
Deuteranopia (green-blind)
#F2DB62
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f7d45c;
/* rgb */ color: rgb(247, 212, 92);
/* oklch */ color: oklch(87.8% 0.142 92.9);
Tailwind
colors: {
  custom: {
    50: '#fde08f',
    500: '#f7d45c',
    950: '#000000',
  },
}
SCSS
$custom: #f7d45c;
$custom-light: #fde08f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d45c",
  "rgb": {
    "r": 247,
    "g": 212,
    "b": 92
  },
  "hsl": {
    "h": 46.452,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87753,
    "c": 0.14239,
    "h": 92.9
  },
  "luminance": 0.67634
}

Semantic roles & 50–950 ramp

primary
#F7D45C
secondary
#2D51CA
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7D45C

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

Preview Lab → · Contrast checker → · Palette generator →

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