#F0D965#F0D965

#F0D965 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.2% C 0.138 H 98.2°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#F0D965
RGBrgb(240, 217, 101)
HSLhsl(50, 82%, 67%)
HSVhsv(50, 58%, 94%)
CMYKcmyk(0%, 9.6%, 57.9%, 5.9%)
CIE-LABlab(86.55, -5.85, 58.88)
CIE-LCHlch(86.55, 59.17, 95.67°)
OKLaboklab(88.21% -0.0197 0.1364)
OKLCHoklch(88.21% 0.138 98.2)
XYZxyz(63.0994, 69.0933, 22.3220)
Luminance0.6909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D965 #657CF0
analogous
#F09465 #F0D965 #C2F065
triadic
#F0D965 #65F0D9 #D965F0
tetradic
#F0D965 #65F094 #657CF0 #F065C2
square
#F0D965 #65F094 #657CF0 #F065C2
split-complementary
#F0D965 #65C2F0 #9465F0
monochromatic
#C7A913 #EBCB2D #F0D965 #F5E79D #FBF5D5

Accessibility & contrast

On white

1.42
#F0D965 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.82
#F0D965 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D965
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D965#FFFFFF#000000##000000
##F0D9651.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD459
Deuteranopia (green-blind)
#F2DC6B
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f0d965;
/* rgb */ color: rgb(240, 217, 101);
/* oklch */ color: oklch(88.2% 0.138 98.2);
Tailwind
colors: {
  custom: {
    50: '#f8e495',
    500: '#f0d965',
    950: '#000000',
  },
}
SCSS
$custom: #f0d965;
$custom-light: #f8e495;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d965",
  "rgb": {
    "r": 240,
    "g": 217,
    "b": 101
  },
  "hsl": {
    "h": 50.072,
    "s": 82.249,
    "l": 66.863
  },
  "oklch": {
    "l": 0.88207,
    "c": 0.13782,
    "h": 98.2
  },
  "luminance": 0.69091
}

Semantic roles & 50–950 ramp

primary
#F0D965
secondary
#354DC4
accent
#2BDF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D965

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

Preview Lab → · Contrast checker → · Palette generator →

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