#F7D56B#F7D56B

#F7D56B is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.1% C 0.131 H 91.8°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#F7D56B
RGBrgb(247, 213, 107)
HSLhsl(45, 90%, 69%)
HSVhsv(45, 57%, 97%)
CMYKcmyk(0%, 13.8%, 56.7%, 3.1%)
CIE-LABlab(86.22, -0.52, 55.93)
CIE-LCHlch(86.22, 55.93, 90.53°)
OKLaboklab(88.11% -0.0041 0.1306)
OKLCHoklch(88.11% 0.131 91.8)
XYZxyz(64.8086, 68.4274, 23.7012)
Luminance0.6842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D56B #6B8DF7
analogous
#F78F6B #F7D56B #D3F76B
triadic
#F7D56B #6BF7D5 #D56BF7
tetradic
#F7D56B #6BF78F #6B8DF7 #F76BD3
square
#F7D56B #6BF78F #6B8DF7 #F76BD3
split-complementary
#F7D56B #6BD3F7 #8F6BF7
monochromatic
#DCA90C #F4C531 #F7D56B #FAE5A5 #FDF6DF

Accessibility & contrast

On white

1.43
#F7D56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.68
#F7D56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D56B
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D56B#FFFFFF#000000##000000
##F7D56B1.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D261
Deuteranopia (green-blind)
#F1DC6F
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f7d56b;
/* rgb */ color: rgb(247, 213, 107);
/* oklch */ color: oklch(88.1% 0.131 91.8);
Tailwind
colors: {
  custom: {
    50: '#fde198',
    500: '#f7d56b',
    950: '#000000',
  },
}
SCSS
$custom: #f7d56b;
$custom-light: #fde198;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d56b",
  "rgb": {
    "r": 247,
    "g": 213,
    "b": 107
  },
  "hsl": {
    "h": 45.429,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88112,
    "c": 0.13065,
    "h": 91.8
  },
  "luminance": 0.68424
}

Semantic roles & 50–950 ramp

primary
#F7D56B
secondary
#355BD1
accent
#38E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D56B

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

Preview Lab → · Contrast checker → · Palette generator →

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