#F0DC67#F0DC67

#F0DC67 is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.8% C 0.139 H 99.7°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#F0DC67
RGBrgb(240, 220, 103)
HSLhsl(51, 82%, 67%)
HSVhsv(51, 57%, 94%)
CMYKcmyk(0%, 8.3%, 57.1%, 5.9%)
CIE-LABlab(87.34, -7.22, 58.87)
CIE-LCHlch(87.34, 59.31, 96.99°)
OKLaboklab(88.84% -0.0234 0.1366)
OKLCHoklch(88.84% 0.139 99.7)
XYZxyz(63.9789, 70.6935, 23.1045)
Luminance0.7069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC67 #677BF0
analogous
#F09867 #F0DC67 #BFF067
triadic
#F0DC67 #67F0DC #DC67F0
tetradic
#F0DC67 #67F098 #677BF0 #F067BF
square
#F0DC67 #67F098 #677BF0 #F067BF
split-complementary
#F0DC67 #67BFF0 #9867F0
monochromatic
#C9AE14 #EBCF2F #F0DC67 #F5E99F #FBF6D6

Accessibility & contrast

On white

1.39
#F0DC67 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.14
#F0DC67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC67
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC67#FFFFFF#000000##000000
##F0DC671.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED65B
Deuteranopia (green-blind)
#F4DE6D
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dc67;
/* rgb */ color: rgb(240, 220, 103);
/* oklch */ color: oklch(88.8% 0.139 99.7);
Tailwind
colors: {
  custom: {
    50: '#f8e696',
    500: '#f0dc67',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc67;
$custom-light: #f8e696;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc67",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 103
  },
  "hsl": {
    "h": 51.241,
    "s": 82.036,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88836,
    "c": 0.13861,
    "h": 99.7
  },
  "luminance": 0.70691
}

Semantic roles & 50–950 ramp

primary
#F0DC67
secondary
#354BC6
accent
#27DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DC67

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

Preview Lab → · Contrast checker → · Palette generator →

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