#F0D45D#F0D45D

#F0D45D is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.1% C 0.141 H 96.1°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#F0D45D
RGBrgb(240, 212, 93)
HSLhsl(49, 83%, 65%)
HSVhsv(49, 61%, 94%)
CMYKcmyk(0%, 11.7%, 61.2%, 5.9%)
CIE-LABlab(85.20, -3.86, 60.92)
CIE-LCHlch(85.20, 61.05, 93.62°)
OKLaboklab(87.12% -0.0149 0.1398)
OKLCHoklch(87.12% 0.141 96.1)
XYZxyz(61.4571, 66.4055, 19.9342)
Luminance0.6640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D45D #5D79F0
analogous
#F08A5D #F0D45D #C3F05D
triadic
#F0D45D #5DF0D4 #D45DF0
tetradic
#F0D45D #5DF08A #5D79F0 #F05DC3
square
#F0D45D #5DF08A #5D79F0 #F05DC3
split-complementary
#F0D45D #5DC3F0 #8A5DF0
monochromatic
#C19F12 #EBC525 #F0D45D #F5E395 #FAF2CD

Accessibility & contrast

On white

1.47
#F0D45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#F0D45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D45D
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D45D#FFFFFF#000000##000000
##F0D45D1.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D050
Deuteranopia (green-blind)
#EFD963
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d45d;
/* rgb */ color: rgb(240, 212, 93);
/* oklch */ color: oklch(87.1% 0.141 96.1);
Tailwind
colors: {
  custom: {
    50: '#f8e08f',
    500: '#f0d45d',
    950: '#000000',
  },
}
SCSS
$custom: #f0d45d;
$custom-light: #f8e08f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d45d",
  "rgb": {
    "r": 240,
    "g": 212,
    "b": 93
  },
  "hsl": {
    "h": 48.571,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87117,
    "c": 0.14055,
    "h": 96.1
  },
  "luminance": 0.66403
}

Semantic roles & 50–950 ramp

primary
#F0D45D
secondary
#324DBF
accent
#2FDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D45D

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

Preview Lab → · Contrast checker → · Palette generator →

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