#F0D468#F0D468

#F0D468 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.2% C 0.131 H 95.0°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#F0D468
RGBrgb(240, 212, 104)
HSLhsl(48, 82%, 67%)
HSVhsv(48, 57%, 94%)
CMYKcmyk(0%, 11.7%, 56.7%, 5.9%)
CIE-LABlab(85.31, -3.09, 56.10)
CIE-LCHlch(85.31, 56.19, 93.15°)
OKLaboklab(87.24% -0.0114 0.1308)
OKLCHoklch(87.24% 0.131 95)
XYZxyz(61.9798, 66.6146, 22.6872)
Luminance0.6661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D468 #6884F0
analogous
#F09068 #F0D468 #C8F068
triadic
#F0D468 #68F0D4 #D468F0
tetradic
#F0D468 #68F090 #6884F0 #F068C8
square
#F0D468 #68F090 #6884F0 #F068C8
split-complementary
#F0D468 #68C8F0 #9068F0
monochromatic
#CAA414 #EAC430 #F0D468 #F6E4A0 #FBF4D7

Accessibility & contrast

On white

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

On black

14.32
#F0D468 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D468
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D468#FFFFFF#000000##000000
##F0D4681.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D05D
Deuteranopia (green-blind)
#EED96D
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d468;
/* rgb */ color: rgb(240, 212, 104);
/* oklch */ color: oklch(87.2% 0.131 95.0);
Tailwind
colors: {
  custom: {
    50: '#f8e096',
    500: '#f0d468',
    950: '#000000',
  },
}
SCSS
$custom: #f0d468;
$custom-light: #f8e096;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d468",
  "rgb": {
    "r": 240,
    "g": 212,
    "b": 104
  },
  "hsl": {
    "h": 47.647,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87235,
    "c": 0.13127,
    "h": 95
  },
  "luminance": 0.66612
}

Semantic roles & 50–950 ramp

primary
#F0D468
secondary
#3654C6
accent
#33DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D468

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

Preview Lab → · Contrast checker → · Palette generator →

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