#F7EF5C#F7EF5C

#F7EF5C is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.2% C 0.164 H 106.2°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#F7EF5C
RGBrgb(247, 239, 92)
HSLhsl(57, 91%, 66%)
HSVhsv(57, 63%, 97%)
CMYKcmyk(0%, 3.2%, 62.8%, 3.1%)
CIE-LABlab(92.70, -14.52, 69.60)
CIE-LCHlch(92.70, 71.10, 101.78°)
OKLaboklab(93.21% -0.0458 0.1578)
OKLCHoklch(93.21% 0.164 106.2)
XYZxyz(71.1586, 82.2823, 22.2569)
Luminance0.8228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EF5C #5C64F7
analogous
#F7A25C #F7EF5C #B2F75C
triadic
#F7EF5C #5CF7EF #EF5CF7
tetradic
#F7EF5C #5CF7A2 #5C64F7 #F75CB2
square
#F7EF5C #5CF7A2 #5C64F7 #F75CB2
split-complementary
#F7EF5C #5CB2F7 #A25CF7
monochromatic
#CEC40A #F4E922 #F7EF5C #FAF596 #FDFAD1

Accessibility & contrast

On white

1.20
#F7EF5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#F7EF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EF5C
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EF5C#FFFFFF#000000##000000
##F7EF5C1.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE749
Deuteranopia (green-blind)
#FFED65
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f7ef5c;
/* rgb */ color: rgb(247, 239, 92);
/* oklch */ color: oklch(93.2% 0.164 106.2);
Tailwind
colors: {
  custom: {
    50: '#fdf491',
    500: '#f7ef5c',
    950: '#000000',
  },
}
SCSS
$custom: #f7ef5c;
$custom-light: #fdf491;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ef5c",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 92
  },
  "hsl": {
    "h": 56.903,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93206,
    "c": 0.16436,
    "h": 106.2
  },
  "luminance": 0.8228
}

Semantic roles & 50–950 ramp

primary
#F7EF5C
secondary
#2D35CA
accent
#0CE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F7EF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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