#F0C949#F0C949

#F0C949 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.7% C 0.148 H 91.7°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#F0C949
RGBrgb(240, 201, 73)
HSLhsl(46, 85%, 61%)
HSVhsv(46, 70%, 94%)
CMYKcmyk(0%, 16.3%, 69.6%, 5.9%)
CIE-LABlab(82.26, 0.62, 66.17)
CIE-LCHlch(82.26, 66.18, 89.46°)
OKLaboklab(84.74% -0.0043 0.1478)
OKLCHoklch(84.74% 0.148 91.7)
XYZxyz(58.0275, 60.7830, 14.9779)
Luminance0.6078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C949 #4970F0
analogous
#F07649 #F0C949 #C4F049
triadic
#F0C949 #49F0C9 #C949F0
tetradic
#F0C949 #49F076 #4970F0 #F049C4
square
#F0C949 #49F076 #4970F0 #F049C4
split-complementary
#F0C949 #49C4F0 #7649F0
monochromatic
#B08A0F #E9B713 #F0C949 #F5DA82 #F9EBBA

Accessibility & contrast

On white

1.60
#F0C949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#F0C949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C949
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C949#FFFFFF#000000##000000
##F0C9491.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC637
Deuteranopia (green-blind)
#E8D150
Tritanopia (blue-blind)
#FFB9AF
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f0c949;
/* rgb */ color: rgb(240, 201, 73);
/* oklch */ color: oklch(84.7% 0.148 91.7);
Tailwind
colors: {
  custom: {
    50: '#f9d983',
    500: '#f0c949',
    950: '#000000',
  },
}
SCSS
$custom: #f0c949;
$custom-light: #f9d983;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c949",
  "rgb": {
    "r": 240,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 45.988,
    "s": 84.772,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84741,
    "c": 0.14787,
    "h": 91.7
  },
  "luminance": 0.6078
}

Semantic roles & 50–950 ramp

primary
#F0C949
secondary
#2D4CB0
accent
#38E104
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0C949

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

Preview Lab → · Contrast checker → · Palette generator →

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