#F0D764#F0D764

#F0D764 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.8% C 0.137 H 97.2°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#F0D764
RGBrgb(240, 215, 100)
HSLhsl(49, 82%, 67%)
HSVhsv(49, 58%, 94%)
CMYKcmyk(0%, 10.4%, 58.3%, 5.9%)
CIE-LABlab(86.03, -4.91, 58.74)
CIE-LCHlch(86.03, 58.95, 94.77°)
OKLaboklab(87.79% -0.0171 0.136)
OKLCHoklch(87.79% 0.137 97.2)
XYZxyz(62.5384, 68.0490, 21.8948)
Luminance0.6805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D764 #647DF0
analogous
#F09164 #F0D764 #C3F064
triadic
#F0D764 #64F0D7 #D764F0
tetradic
#F0D764 #64F091 #647DF0 #F064C3
square
#F0D764 #64F091 #647DF0 #F064C3
split-complementary
#F0D764 #64C3F0 #9164F0
monochromatic
#C6A613 #EBC92C #F0D764 #F5E59C #FBF4D4

Accessibility & contrast

On white

1.44
#F0D764 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#F0D764 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D764
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D764#FFFFFF#000000##000000
##F0D7641.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD258
Deuteranopia (green-blind)
#F1DB69
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d764;
/* rgb */ color: rgb(240, 215, 100);
/* oklch */ color: oklch(87.8% 0.137 97.2);
Tailwind
colors: {
  custom: {
    50: '#f8e394',
    500: '#f0d764',
    950: '#000000',
  },
}
SCSS
$custom: #f0d764;
$custom-light: #f8e394;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d764",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 100
  },
  "hsl": {
    "h": 49.286,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87793,
    "c": 0.13706,
    "h": 97.2
  },
  "luminance": 0.68046
}

Semantic roles & 50–950 ramp

primary
#F0D764
secondary
#354EC4
accent
#2DDF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D764

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

Preview Lab → · Contrast checker → · Palette generator →

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