#F0D464#F0D464

#F0D464 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.2% C 0.135 H 95.4°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#F0D464
RGBrgb(240, 212, 100)
HSLhsl(48, 82%, 67%)
HSVhsv(48, 58%, 94%)
CMYKcmyk(0%, 11.7%, 58.3%, 5.9%)
CIE-LABlab(85.27, -3.38, 57.88)
CIE-LCHlch(85.27, 57.98, 93.34°)
OKLaboklab(87.19% -0.0127 0.1341)
OKLCHoklch(87.19% 0.135 95.4)
XYZxyz(61.7815, 66.5352, 21.6424)
Luminance0.6653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D464 #6480F0
analogous
#F08E64 #F0D464 #C6F064
triadic
#F0D464 #64F0D4 #D464F0
tetradic
#F0D464 #64F08E #6480F0 #F064C6
square
#F0D464 #64F08E #6480F0 #F064C6
split-complementary
#F0D464 #64C6F0 #8E64F0
monochromatic
#C6A313 #EBC52C #F0D464 #F5E39C #FBF3D4

Accessibility & contrast

On white

1.47
#F0D464 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#F0D464 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D464
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D464#FFFFFF#000000##000000
##F0D4641.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D059
Deuteranopia (green-blind)
#EED969
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d464;
/* rgb */ color: rgb(240, 212, 100);
/* oklch */ color: oklch(87.2% 0.135 95.4);
Tailwind
colors: {
  custom: {
    50: '#f8e094',
    500: '#f0d464',
    950: '#000000',
  },
}
SCSS
$custom: #f0d464;
$custom-light: #f8e094;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d464",
  "rgb": {
    "r": 240,
    "g": 212,
    "b": 100
  },
  "hsl": {
    "h": 48,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.8719,
    "c": 0.13474,
    "h": 95.4
  },
  "luminance": 0.66532
}

Semantic roles & 50–950 ramp

primary
#F0D464
secondary
#3551C4
accent
#32DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D464

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

Preview Lab → · Contrast checker → · Palette generator →

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