#F7D258#F7D258

#F7D258 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.3% C 0.144 H 92.2°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#F7D258
RGBrgb(247, 210, 88)
HSLhsl(46, 91%, 66%)
HSVhsv(46, 64%, 97%)
CMYKcmyk(0%, 15%, 64.4%, 3.1%)
CIE-LABlab(85.29, -0.25, 63.36)
CIE-LCHlch(85.29, 63.36, 90.23°)
OKLaboklab(87.32% -0.0055 0.1441)
OKLCHoklch(87.32% 0.144 92.2)
XYZxyz(63.1689, 66.5754, 18.7537)
Luminance0.6657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D258 #587DF7
analogous
#F78258 #F7D258 #CCF758
triadic
#F7D258 #58F7D2 #D258F7
tetradic
#F7D258 #58F782 #587DF7 #F758CC
square
#F7D258 #58F782 #587DF7 #F758CC
split-complementary
#F7D258 #58CCF7 #8258F7
monochromatic
#CB9E0A #F4C21E #F7D258 #FAE292 #FDF1CD

Accessibility & contrast

On white

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

On black

14.31
#F7D258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D258
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D258#FFFFFF#000000##000000
##F7D2581.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7d258;
/* rgb */ color: rgb(247, 210, 88);
/* oklch */ color: oklch(87.3% 0.144 92.2);
Tailwind
colors: {
  custom: {
    50: '#fedf8c',
    500: '#f7d258',
    950: '#000000',
  },
}
SCSS
$custom: #f7d258;
$custom-light: #fedf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d258",
  "rgb": {
    "r": 247,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 46.038,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87319,
    "c": 0.14416,
    "h": 92.2
  },
  "luminance": 0.66572
}

Semantic roles & 50–950 ramp

primary
#F7D258
secondary
#2C50C7
accent
#35E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F7D258

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

Preview Lab → · Contrast checker → · Palette generator →

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