#F0CF49#F0CF49

#F0CF49 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.9% C 0.152 H 95.0°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#F0CF49
RGBrgb(240, 207, 73)
HSLhsl(48, 85%, 61%)
HSVhsv(48, 70%, 94%)
CMYKcmyk(0%, 13.7%, 69.6%, 5.9%)
CIE-LABlab(83.78, -2.45, 67.70)
CIE-LCHlch(83.78, 67.75, 92.08°)
OKLaboklab(85.94% -0.0131 0.1511)
OKLCHoklch(85.94% 0.152 95)
XYZxyz(59.4536, 63.6352, 15.4533)
Luminance0.6363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CF49 #496AF0
analogous
#F07C49 #F0CF49 #BEF049
triadic
#F0CF49 #49F0CF #CF49F0
tetradic
#F0CF49 #49F07C #496AF0 #F049BE
square
#F0CF49 #49F07C #496AF0 #F049BE
split-complementary
#F0CF49 #49BEF0 #7C49F0
monochromatic
#B0900F #E9BE13 #F0CF49 #F5DE82 #F9EDBA

Accessibility & contrast

On white

1.53
#F0CF49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#F0CF49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CF49
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CF49#FFFFFF#000000##000000
##F0CF491.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB36
Deuteranopia (green-blind)
#ECD550
Tritanopia (blue-blind)
#FFBFB4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0cf49;
/* rgb */ color: rgb(240, 207, 73);
/* oklch */ color: oklch(85.9% 0.152 95.0);
Tailwind
colors: {
  custom: {
    50: '#f9dd83',
    500: '#f0cf49',
    950: '#000000',
  },
}
SCSS
$custom: #f0cf49;
$custom-light: #f9dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cf49",
  "rgb": {
    "r": 240,
    "g": 207,
    "b": 73
  },
  "hsl": {
    "h": 48.144,
    "s": 84.772,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85937,
    "c": 0.15162,
    "h": 95
  },
  "luminance": 0.63632
}

Semantic roles & 50–950 ramp

primary
#F0CF49
secondary
#2D47B0
accent
#30E104
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #F0CF49

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

Preview Lab → · Contrast checker → · Palette generator →

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