#F0DC6F#F0DC6F

#F0DC6F is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.9% C 0.131 H 99.1°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#F0DC6F
RGBrgb(240, 220, 111)
HSLhsl(51, 81%, 69%)
HSVhsv(51, 54%, 94%)
CMYKcmyk(0%, 8.3%, 53.8%, 5.9%)
CIE-LABlab(87.42, -6.61, 55.32)
CIE-LCHlch(87.42, 55.71, 96.82°)
OKLaboklab(88.93% -0.0208 0.1298)
OKLCHoklch(88.93% 0.131 99.1)
XYZxyz(64.3998, 70.8619, 25.3213)
Luminance0.7086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC6F #6F83F0
analogous
#F09C6F #F0DC6F #C4F06F
triadic
#F0DC6F #6FF0DC #DC6FF0
tetradic
#F0DC6F #6FF09C #6F83F0 #F06FC4
square
#F0DC6F #6FF09C #6F83F0 #F06FC4
split-complementary
#F0DC6F #6FC4F0 #9C6FF0
monochromatic
#CFB216 #EACF38 #F0DC6F #F6E9A6 #FCF7DE

Accessibility & contrast

On white

1.38
#F0DC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.17
#F0DC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC6F
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC6F#FFFFFF#000000##000000
##F0DC6F1.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED765
Deuteranopia (green-blind)
#F3DE74
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dc6f;
/* rgb */ color: rgb(240, 220, 111);
/* oklch */ color: oklch(88.9% 0.131 99.1);
Tailwind
colors: {
  custom: {
    50: '#f7e69b',
    500: '#f0dc6f',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc6f;
$custom-light: #f7e69b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc6f",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 111
  },
  "hsl": {
    "h": 50.698,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88928,
    "c": 0.13145,
    "h": 99.1
  },
  "luminance": 0.70859
}

Semantic roles & 50–950 ramp

primary
#F0DC6F
secondary
#3A50C9
accent
#29DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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