#F7EA6C#F7EA6C

#F7EA6C is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.3% C 0.147 H 103.4°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#F7EA6C
RGBrgb(247, 234, 108)
HSLhsl(54, 90%, 70%)
HSVhsv(54, 56%, 97%)
CMYKcmyk(0%, 5.3%, 56.3%, 3.1%)
CIE-LABlab(91.55, -11.00, 61.58)
CIE-LCHlch(91.55, 62.56, 100.13°)
OKLaboklab(92.34% -0.0341 0.1429)
OKLCHoklch(92.34% 0.147 103.4)
XYZxyz(70.4897, 79.7050, 25.8560)
Luminance0.7970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EA6C #6C79F7
analogous
#F7A46C #F7EA6C #BFF76C
triadic
#F7EA6C #6CF7EA #EA6CF7
tetradic
#F7EA6C #6CF7A4 #6C79F7 #F76CBF
square
#F7EA6C #6CF7A4 #6C79F7 #F76CBF
split-complementary
#F7EA6C #6CBFF7 #A46CF7
monochromatic
#DDC90C #F4E232 #F7EA6C #FAF2A6 #FDFBE0

Accessibility & contrast

On white

1.24
#F7EA6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.94
#F7EA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EA6C
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EA6C#FFFFFF#000000##000000
##F7EA6C1.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE35F
Deuteranopia (green-blind)
#FFEA72
Tritanopia (blue-blind)
#FFDCCE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f7ea6c;
/* rgb */ color: rgb(247, 234, 108);
/* oklch */ color: oklch(92.3% 0.147 103.4);
Tailwind
colors: {
  custom: {
    50: '#fdf09a',
    500: '#f7ea6c',
    950: '#000000',
  },
}
SCSS
$custom: #f7ea6c;
$custom-light: #fdf09a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ea6c",
  "rgb": {
    "r": 247,
    "g": 234,
    "b": 108
  },
  "hsl": {
    "h": 54.388,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92338,
    "c": 0.14689,
    "h": 103.4
  },
  "luminance": 0.79703
}

Semantic roles & 50–950 ramp

primary
#F7EA6C
secondary
#3645D1
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F7EA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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