#F0D767#F0D767

#F0D767 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.8% C 0.134 H 96.9°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#F0D767
RGBrgb(240, 215, 103)
HSLhsl(49, 82%, 67%)
HSVhsv(49, 57%, 94%)
CMYKcmyk(0%, 10.4%, 57.1%, 5.9%)
CIE-LABlab(86.06, -4.69, 57.42)
CIE-LCHlch(86.06, 57.61, 94.67°)
OKLaboklab(87.83% -0.0161 0.1335)
OKLCHoklch(87.83% 0.134 96.9)
XYZxyz(62.6862, 68.1082, 22.6736)
Luminance0.6811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D767 #6780F0
analogous
#F09367 #F0D767 #C5F067
triadic
#F0D767 #67F0D7 #D767F0
tetradic
#F0D767 #67F093 #6780F0 #F067C5
square
#F0D767 #67F093 #6780F0 #F067C5
split-complementary
#F0D767 #67C5F0 #9367F0
monochromatic
#C9A814 #EBC82F #F0D767 #F5E69F #FBF4D6

Accessibility & contrast

On white

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

On black

14.62
#F0D767 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D767
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D767#FFFFFF#000000##000000
##F0D7671.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d767;
/* rgb */ color: rgb(240, 215, 103);
/* oklch */ color: oklch(87.8% 0.134 96.9);
Tailwind
colors: {
  custom: {
    50: '#f8e396',
    500: '#f0d767',
    950: '#000000',
  },
}
SCSS
$custom: #f0d767;
$custom-light: #f8e396;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d767",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 103
  },
  "hsl": {
    "h": 49.051,
    "s": 82.036,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87826,
    "c": 0.13447,
    "h": 96.9
  },
  "luminance": 0.68105
}

Semantic roles & 50–950 ramp

primary
#F0D767
secondary
#3550C6
accent
#2EDE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D767

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

Preview Lab → · Contrast checker → · Palette generator →

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