#F0DD5F#F0DD5F

#F0DD5F is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.0% C 0.146 H 100.8°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#F0DD5F
RGBrgb(240, 221, 95)
HSLhsl(52, 83%, 66%)
HSVhsv(52, 60%, 94%)
CMYKcmyk(0%, 7.9%, 60.4%, 5.9%)
CIE-LABlab(87.52, -8.27, 62.60)
CIE-LCHlch(87.52, 63.14, 97.53°)
OKLaboklab(88.96% -0.0273 0.1436)
OKLCHoklch(88.96% 0.146 100.8)
XYZxyz(63.8597, 71.0670, 21.1778)
Luminance0.7106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DD5F #5F72F0
analogous
#F0945F #F0DD5F #BAF05F
triadic
#F0DD5F #5FF0DD #DD5FF0
tetradic
#F0DD5F #5FF094 #5F72F0 #F05FBA
square
#F0DD5F #5FF094 #5F72F0 #F05FBA
split-complementary
#F0DD5F #5FBAF0 #945FF0
monochromatic
#C2AB12 #EBD127 #F0DD5F #F5E997 #FAF5CF

Accessibility & contrast

On white

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

On black

15.21
#F0DD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DD5F
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DD5F#FFFFFF#000000##000000
##F0DD5F1.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D751
Deuteranopia (green-blind)
#F5DF66
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dd5f;
/* rgb */ color: rgb(240, 221, 95);
/* oklch */ color: oklch(89.0% 0.146 100.8);
Tailwind
colors: {
  custom: {
    50: '#f8e791',
    500: '#f0dd5f',
    950: '#000000',
  },
}
SCSS
$custom: #f0dd5f;
$custom-light: #f8e791;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dd5f",
  "rgb": {
    "r": 240,
    "g": 221,
    "b": 95
  },
  "hsl": {
    "h": 52.138,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.88956,
    "c": 0.14617,
    "h": 100.8
  },
  "luminance": 0.71064
}

Semantic roles & 50–950 ramp

primary
#F0DD5F
secondary
#3346C0
accent
#23DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0DD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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