#F0D55C#F0D55C

#F0D55C is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.3% C 0.142 H 96.7°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#F0D55C
RGBrgb(240, 213, 92)
HSLhsl(49, 83%, 65%)
HSVhsv(49, 62%, 94%)
CMYKcmyk(0%, 11.2%, 61.7%, 5.9%)
CIE-LABlab(85.45, -4.43, 61.63)
CIE-LCHlch(85.45, 61.79, 94.11°)
OKLaboklab(87.31% -0.0167 0.1411)
OKLCHoklch(87.31% 0.142 96.7)
XYZxyz(61.6639, 66.8894, 19.7860)
Luminance0.6689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D55C #5C77F0
analogous
#F08B5C #F0D55C #C1F05C
triadic
#F0D55C #5CF0D5 #D55CF0
tetradic
#F0D55C #5CF08B #5C77F0 #F05CC1
square
#F0D55C #5CF08B #5C77F0 #F05CC1
split-complementary
#F0D55C #5CC1F0 #8B5CF0
monochromatic
#C0A012 #EBC724 #F0D55C #F5E394 #FAF2CC

Accessibility & contrast

On white

1.46
#F0D55C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#F0D55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D55C
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D55C#FFFFFF#000000##000000
##F0D55C1.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D04F
Deuteranopia (green-blind)
#F0D962
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d55c;
/* rgb */ color: rgb(240, 213, 92);
/* oklch */ color: oklch(87.3% 0.142 96.7);
Tailwind
colors: {
  custom: {
    50: '#f8e18f',
    500: '#f0d55c',
    950: '#000000',
  },
}
SCSS
$custom: #f0d55c;
$custom-light: #f8e18f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d55c",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 92
  },
  "hsl": {
    "h": 49.054,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.87308,
    "c": 0.1421,
    "h": 96.7
  },
  "luminance": 0.66886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0D55C

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

Preview Lab → · Contrast checker → · Palette generator →

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