#F0D45A#F0D45A

#F0D45A is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.1% C 0.143 H 96.3°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#F0D45A
RGBrgb(240, 212, 90)
HSLhsl(49, 83%, 65%)
HSVhsv(49, 63%, 94%)
CMYKcmyk(0%, 11.7%, 62.5%, 5.9%)
CIE-LABlab(85.18, -4.05, 62.20)
CIE-LCHlch(85.18, 62.33, 93.72°)
OKLaboklab(87.09% -0.0158 0.1421)
OKLCHoklch(87.09% 0.143 96.3)
XYZxyz(61.3268, 66.3534, 19.2481)
Luminance0.6635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D45A #5A76F0
analogous
#F0895A #F0D45A #C1F05A
triadic
#F0D45A #5AF0D4 #D45AF0
tetradic
#F0D45A #5AF089 #5A76F0 #F05AC1
square
#F0D45A #5AF089 #5A76F0 #F05AC1
split-complementary
#F0D45A #5AC1F0 #895AF0
monochromatic
#BE9E11 #EBC522 #F0D45A #F5E392 #FAF1CA

Accessibility & contrast

On white

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

On black

14.27
#F0D45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D45A
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D45A#FFFFFF#000000##000000
##F0D45A1.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d45a;
/* rgb */ color: rgb(240, 212, 90);
/* oklch */ color: oklch(87.1% 0.143 96.3);
Tailwind
colors: {
  custom: {
    50: '#f8e08d',
    500: '#f0d45a',
    950: '#000000',
  },
}
SCSS
$custom: #f0d45a;
$custom-light: #f8e08d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d45a",
  "rgb": {
    "r": 240,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 48.8,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87087,
    "c": 0.14293,
    "h": 96.3
  },
  "luminance": 0.6635
}

Semantic roles & 50–950 ramp

primary
#F0D45A
secondary
#324CBD
accent
#2EE006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D45A

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

Preview Lab → · Contrast checker → · Palette generator →

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