#F0D56D#F0D56D

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

Color values

HEX#F0D56D
RGBrgb(240, 213, 109)
HSLhsl(48, 81%, 68%)
HSVhsv(48, 55%, 94%)
CMYKcmyk(0%, 11.2%, 54.6%, 5.9%)
CIE-LABlab(85.62, -3.22, 54.14)
CIE-LCHlch(85.62, 54.23, 93.40°)
OKLaboklab(87.49% -0.0112 0.1271)
OKLCHoklch(87.49% 0.128 95)
XYZxyz(62.4921, 67.2207, 24.1482)
Luminance0.6722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D56D #6D88F0
analogous
#F0936D #F0D56D #C9F06D
triadic
#F0D56D #6DF0D5 #D56DF0
tetradic
#F0D56D #6DF093 #6D88F0 #F06DC9
square
#F0D56D #6DF093 #6D88F0 #F06DC9
split-complementary
#F0D56D #6DC9F0 #936DF0
monochromatic
#CDA715 #EAC536 #F0D56D #F6E5A4 #FBF5DC

Accessibility & contrast

On white

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

On black

14.44
#F0D56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D56D
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D56D#FFFFFF#000000##000000
##F0D56D1.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d56d;
/* rgb */ color: rgb(240, 213, 109);
/* oklch */ color: oklch(87.5% 0.128 95.0);
Tailwind
colors: {
  custom: {
    50: '#f8e199',
    500: '#f0d56d',
    950: '#000000',
  },
}
SCSS
$custom: #f0d56d;
$custom-light: #f8e199;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d56d",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 109
  },
  "hsl": {
    "h": 47.634,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.87494,
    "c": 0.12754,
    "h": 95
  },
  "luminance": 0.67218
}

Semantic roles & 50–950 ramp

primary
#F0D56D
secondary
#3956C9
accent
#34DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D56D

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

Preview Lab → · Contrast checker → · Palette generator →

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