#F0DC5E#F0DC5E

#F0DC5E is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.7% C 0.146 H 100.3°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#F0DC5E
RGBrgb(240, 220, 94)
HSLhsl(52, 83%, 65%)
HSVhsv(52, 61%, 94%)
CMYKcmyk(0%, 8.3%, 60.8%, 5.9%)
CIE-LABlab(87.25, -7.84, 62.74)
CIE-LCHlch(87.25, 63.23, 97.12°)
OKLaboklab(88.74% -0.0262 0.1438)
OKLCHoklch(88.74% 0.146 100.3)
XYZxyz(63.5513, 70.5225, 20.8522)
Luminance0.7052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC5E #5E72F0
analogous
#F0935E #F0DC5E #BBF05E
triadic
#F0DC5E #5EF0DC #DC5EF0
tetradic
#F0DC5E #5EF093 #5E72F0 #F05EBB
square
#F0DC5E #5EF093 #5E72F0 #F05EBB
split-complementary
#F0DC5E #5EBBF0 #935EF0
monochromatic
#C2AA12 #EBD026 #F0DC5E #F5E896 #FAF4CE

Accessibility & contrast

On white

1.39
#F0DC5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.10
#F0DC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC5E
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC5E#FFFFFF#000000##000000
##F0DC5E1.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD650
Deuteranopia (green-blind)
#F5DE65
Tritanopia (blue-blind)
#FFCEC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dc5e;
/* rgb */ color: rgb(240, 220, 94);
/* oklch */ color: oklch(88.7% 0.146 100.3);
Tailwind
colors: {
  custom: {
    50: '#f8e690',
    500: '#f0dc5e',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc5e;
$custom-light: #f8e690;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc5e",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 94
  },
  "hsl": {
    "h": 51.781,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.88743,
    "c": 0.14613,
    "h": 100.3
  },
  "luminance": 0.7052
}

Semantic roles & 50–950 ramp

primary
#F0DC5E
secondary
#3346BF
accent
#24DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0DC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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