#F7F56D#F7F56D

#F7F56D is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.6% C 0.157 H 108.3°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#F7F56D
RGBrgb(247, 245, 109)
HSLhsl(59, 90%, 70%)
HSVhsv(59, 56%, 97%)
CMYKcmyk(0%, 0.8%, 55.9%, 3.1%)
CIE-LABlab(94.39, -16.32, 64.35)
CIE-LCHlch(94.39, 66.39, 104.23°)
OKLaboklab(94.6% -0.0492 0.1489)
OKLCHoklch(94.6% 0.157 108.3)
XYZxyz(73.7726, 86.1851, 27.2143)
Luminance0.8618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F56D #6D6FF7
analogous
#F7B06D #F7F56D #B4F76D
triadic
#F7F56D #6DF7F5 #F56DF7
tetradic
#F7F56D #6DF7B0 #6D6FF7 #F76DB4
square
#F7F56D #6DF7B0 #6D6FF7 #F76DB4
split-complementary
#F7F56D #6DB4F7 #B06DF7
monochromatic
#DDDA0C #F4F133 #F7F56D #FAF9A7 #FDFDE1

Accessibility & contrast

On white

1.15
#F7F56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#F7F56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F56D
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F56D#FFFFFF#000000##000000
##F7F56D1.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5F
Deuteranopia (green-blind)
#FFF175
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f7f56d;
/* rgb */ color: rgb(247, 245, 109);
/* oklch */ color: oklch(94.6% 0.157 108.3);
Tailwind
colors: {
  custom: {
    50: '#fdf89b',
    500: '#f7f56d',
    950: '#000000',
  },
}
SCSS
$custom: #f7f56d;
$custom-light: #fdf89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f56d",
  "rgb": {
    "r": 247,
    "g": 245,
    "b": 109
  },
  "hsl": {
    "h": 59.13,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.946,
    "c": 0.1568,
    "h": 108.3
  },
  "luminance": 0.86183
}

Semantic roles & 50–950 ramp

primary
#F7F56D
secondary
#3739D1
accent
#03E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F56D

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

Preview Lab → · Contrast checker → · Palette generator →

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