#F0CE68#F0CE68

#F0CE68 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 86.0% C 0.127 H 91.1°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#F0CE68
RGBrgb(240, 206, 104)
HSLhsl(45, 82%, 67%)
HSVhsv(45, 57%, 94%)
CMYKcmyk(0%, 14.2%, 56.7%, 5.9%)
CIE-LABlab(83.79, -0.02, 54.35)
CIE-LCHlch(83.79, 54.35, 90.02°)
OKLaboklab(86.04% -0.0025 0.127)
OKLCHoklch(86.04% 0.127 91.1)
XYZxyz(60.5078, 63.6704, 22.1965)
Luminance0.6367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CE68 #688AF0
analogous
#F08A68 #F0CE68 #CEF068
triadic
#F0CE68 #68F0CE #CE68F0
tetradic
#F0CE68 #68F08A #688AF0 #F068CE
square
#F0CE68 #68F08A #688AF0 #F068CE
split-complementary
#F0CE68 #68CEF0 #8A68F0
monochromatic
#CA9C14 #EABC30 #F0CE68 #F6E0A0 #FBF2D7

Accessibility & contrast

On white

1.53
#F0CE68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#F0CE68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CE68
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CE68#FFFFFF#000000##000000
##F0CE681.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB5E
Deuteranopia (green-blind)
#EAD56C
Tritanopia (blue-blind)
#FFC0B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0ce68;
/* rgb */ color: rgb(240, 206, 104);
/* oklch */ color: oklch(86.0% 0.127 91.1);
Tailwind
colors: {
  custom: {
    50: '#f8dc96',
    500: '#f0ce68',
    950: '#000000',
  },
}
SCSS
$custom: #f0ce68;
$custom-light: #f8dc96;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ce68",
  "rgb": {
    "r": 240,
    "g": 206,
    "b": 104
  },
  "hsl": {
    "h": 45,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86038,
    "c": 0.12702,
    "h": 91.1
  },
  "luminance": 0.63667
}

Semantic roles & 50–950 ramp

primary
#F0CE68
secondary
#365AC6
accent
#3DDE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0CE68

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

Preview Lab → · Contrast checker → · Palette generator →

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