#F0DC6E#F0DC6E

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

Color values

HEX#F0DC6E
RGBrgb(240, 220, 110)
HSLhsl(51, 81%, 69%)
HSVhsv(51, 54%, 94%)
CMYKcmyk(0%, 8.3%, 54.2%, 5.9%)
CIE-LABlab(87.41, -6.69, 55.77)
CIE-LCHlch(87.41, 56.17, 96.84°)
OKLaboklab(88.92% -0.0211 0.1307)
OKLCHoklch(88.92% 0.132 99.2)
XYZxyz(64.3451, 70.8400, 25.0329)
Luminance0.7084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC6E #6E82F0
analogous
#F09B6E #F0DC6E #C3F06E
triadic
#F0DC6E #6EF0DC #DC6EF0
tetradic
#F0DC6E #6EF09B #6E82F0 #F06EC3
square
#F0DC6E #6EF09B #6E82F0 #F06EC3
split-complementary
#F0DC6E #6EC3F0 #9B6EF0
monochromatic
#CEB215 #EACF37 #F0DC6E #F6E9A5 #FBF7DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0DC6E#FFFFFF#000000##000000
##F0DC6E1.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)
#EED764
Deuteranopia (green-blind)
#F4DE73
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dc6e;
/* rgb */ color: rgb(240, 220, 110);
/* oklch */ color: oklch(88.9% 0.132 99.2);
Tailwind
colors: {
  custom: {
    50: '#f7e69a',
    500: '#f0dc6e',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc6e;
$custom-light: #f7e69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc6e",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 110
  },
  "hsl": {
    "h": 50.769,
    "s": 81.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88916,
    "c": 0.13237,
    "h": 99.2
  },
  "luminance": 0.70837
}

Semantic roles & 50–950 ramp

primary
#F0DC6E
secondary
#3950C9
accent
#29DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DC6E

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

Preview Lab → · Contrast checker → · Palette generator →

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