#F0D56B#F0D56B

#F0D56B is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.5% C 0.129 H 95.3°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#F0D56B
RGBrgb(240, 213, 107)
HSLhsl(48, 82%, 68%)
HSVhsv(48, 55%, 94%)
CMYKcmyk(0%, 11.2%, 55.4%, 5.9%)
CIE-LABlab(85.59, -3.38, 55.04)
CIE-LCHlch(85.59, 55.15, 93.51°)
OKLaboklab(87.47% -0.0119 0.1288)
OKLCHoklch(87.47% 0.129 95.3)
XYZxyz(62.3857, 67.1781, 23.5876)
Luminance0.6717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D56B #6B86F0
analogous
#F0936B #F0D56B #C8F06B
triadic
#F0D56B #6BF0D5 #D56BF0
tetradic
#F0D56B #6BF093 #6B86F0 #F06BC8
square
#F0D56B #6BF093 #6B86F0 #F06BC8
split-complementary
#F0D56B #6BC8F0 #936BF0
monochromatic
#CCA715 #EAC533 #F0D56B #F6E5A3 #FBF5DA

Accessibility & contrast

On white

1.45
#F0D56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#F0D56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D56B
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D56B#FFFFFF#000000##000000
##F0D56B1.001.4514.4314.43
#FFFFFF1.451.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D161
Deuteranopia (green-blind)
#EFDA70
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d56b;
/* rgb */ color: rgb(240, 213, 107);
/* oklch */ color: oklch(87.5% 0.129 95.3);
Tailwind
colors: {
  custom: {
    50: '#f8e198',
    500: '#f0d56b',
    950: '#000000',
  },
}
SCSS
$custom: #f0d56b;
$custom-light: #f8e198;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d56b",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 107
  },
  "hsl": {
    "h": 47.82,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.8747,
    "c": 0.12936,
    "h": 95.3
  },
  "luminance": 0.67175
}

Semantic roles & 50–950 ramp

primary
#F0D56B
secondary
#3754C8
accent
#33DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D56B

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

Preview Lab → · Contrast checker → · Palette generator →

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