#F0DE5D#F0DE5D

#F0DE5D is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.1% C 0.149 H 101.4°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#F0DE5D
RGBrgb(240, 222, 93)
HSLhsl(53, 83%, 65%)
HSVhsv(53, 61%, 94%)
CMYKcmyk(0%, 7.5%, 61.2%, 5.9%)
CIE-LABlab(87.76, -8.90, 63.72)
CIE-LCHlch(87.76, 64.34, 97.95°)
OKLaboklab(89.14% -0.0293 0.1457)
OKLCHoklch(89.14% 0.149 101.4)
XYZxyz(64.0347, 71.5607, 20.7934)
Luminance0.7156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DE5D #5D6FF0
analogous
#F0945D #F0DE5D #B8F05D
triadic
#F0DE5D #5DF0DE #DE5DF0
tetradic
#F0DE5D #5DF094 #5D6FF0 #F05DB8
square
#F0DE5D #5DF094 #5D6FF0 #F05DB8
split-complementary
#F0DE5D #5DB8F0 #945DF0
monochromatic
#C1AB12 #EBD325 #F0DE5D #F5E995 #FAF5CD

Accessibility & contrast

On white

1.37
#F0DE5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#F0DE5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DE5D
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DE5D#FFFFFF#000000##000000
##F0DE5D1.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D84E
Deuteranopia (green-blind)
#F6DF64
Tritanopia (blue-blind)
#FFD0C2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0de5d;
/* rgb */ color: rgb(240, 222, 93);
/* oklch */ color: oklch(89.1% 0.149 101.4);
Tailwind
colors: {
  custom: {
    50: '#f8e890',
    500: '#f0de5d',
    950: '#000000',
  },
}
SCSS
$custom: #f0de5d;
$custom-light: #f8e890;
$custom-dark: #000000;
JSON
{
  "hex": "#f0de5d",
  "rgb": {
    "r": 240,
    "g": 222,
    "b": 93
  },
  "hsl": {
    "h": 52.653,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.89141,
    "c": 0.14863,
    "h": 101.4
  },
  "luminance": 0.71558
}

Semantic roles & 50–950 ramp

primary
#F0DE5D
secondary
#3244BF
accent
#21DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0DE5D

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

Preview Lab → · Contrast checker → · Palette generator →

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