#F0D565#F0D565

#F0D565 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.4% C 0.135 H 95.9°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#F0D565
RGBrgb(240, 213, 101)
HSLhsl(48, 82%, 67%)
HSVhsv(48, 58%, 94%)
CMYKcmyk(0%, 11.2%, 57.9%, 5.9%)
CIE-LABlab(85.53, -3.82, 57.73)
CIE-LCHlch(85.53, 57.85, 93.78°)
OKLaboklab(87.4% -0.0139 0.1339)
OKLCHoklch(87.4% 0.135 95.9)
XYZxyz(62.0809, 67.0562, 21.9825)
Luminance0.6705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D565 #6580F0
analogous
#F08F65 #F0D565 #C6F065
triadic
#F0D565 #65F0D5 #D565F0
tetradic
#F0D565 #65F08F #6580F0 #F065C6
square
#F0D565 #65F08F #6580F0 #F065C6
split-complementary
#F0D565 #65C6F0 #8F65F0
monochromatic
#C7A413 #EBC62D #F0D565 #F5E49D #FBF3D5

Accessibility & contrast

On white

1.46
#F0D565 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#F0D565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D565
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D565#FFFFFF#000000##000000
##F0D5651.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15A
Deuteranopia (green-blind)
#EFDA6A
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d565;
/* rgb */ color: rgb(240, 213, 101);
/* oklch */ color: oklch(87.4% 0.135 95.9);
Tailwind
colors: {
  custom: {
    50: '#f8e194',
    500: '#f0d565',
    950: '#000000',
  },
}
SCSS
$custom: #f0d565;
$custom-light: #f8e194;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d565",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 101
  },
  "hsl": {
    "h": 48.345,
    "s": 82.249,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87402,
    "c": 0.13465,
    "h": 95.9
  },
  "luminance": 0.67053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0D565

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

Preview Lab → · Contrast checker → · Palette generator →

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