#F7D254#F7D254

#F7D254 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.3% C 0.147 H 92.6°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#F7D254
RGBrgb(247, 210, 84)
HSLhsl(46, 91%, 65%)
HSVhsv(46, 66%, 97%)
CMYKcmyk(0%, 15%, 66%, 3.1%)
CIE-LABlab(85.26, -0.48, 65.01)
CIE-LCHlch(85.26, 65.01, 90.42°)
OKLaboklab(87.28% -0.0067 0.1469)
OKLCHoklch(87.28% 0.147 92.6)
XYZxyz(63.0077, 66.5109, 17.9049)
Luminance0.6651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D254 #5479F7
analogous
#F78054 #F7D254 #CBF754
triadic
#F7D254 #54F7D2 #D254F7
tetradic
#F7D254 #54F780 #5479F7 #F754CB
square
#F7D254 #54F780 #5479F7 #F754CB
split-complementary
#F7D254 #54CBF7 #8054F7
monochromatic
#C79C09 #F4C31A #F7D254 #FAE18E #FCF1C9

Accessibility & contrast

On white

1.47
#F7D254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#F7D254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D254
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D254#FFFFFF#000000##000000
##F7D2541.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF44
Deuteranopia (green-blind)
#F1DA5A
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f7d254;
/* rgb */ color: rgb(247, 210, 84);
/* oklch */ color: oklch(87.3% 0.147 92.6);
Tailwind
colors: {
  custom: {
    50: '#fedf8a',
    500: '#f7d254',
    950: '#000000',
  },
}
SCSS
$custom: #f7d254;
$custom-light: #fedf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d254",
  "rgb": {
    "r": 247,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 46.38,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87283,
    "c": 0.14708,
    "h": 92.6
  },
  "luminance": 0.66507
}

Semantic roles & 50–950 ramp

primary
#F7D254
secondary
#2B4EC4
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F7D254

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

Preview Lab → · Contrast checker → · Palette generator →

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