#F0C849#F0C849

#F0C849 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.5% C 0.147 H 91.1°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#F0C849
RGBrgb(240, 200, 73)
HSLhsl(46, 85%, 61%)
HSVhsv(46, 70%, 94%)
CMYKcmyk(0%, 16.7%, 69.6%, 5.9%)
CIE-LABlab(82.01, 1.14, 65.92)
CIE-LCHlch(82.01, 65.93, 89.01°)
OKLaboklab(84.54% -0.0029 0.1473)
OKLCHoklch(84.54% 0.147 91.1)
XYZxyz(57.7952, 60.3183, 14.9005)
Luminance0.6031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C849 #4971F0
analogous
#F07549 #F0C849 #C5F049
triadic
#F0C849 #49F0C8 #C849F0
tetradic
#F0C849 #49F075 #4971F0 #F049C5
square
#F0C849 #49F075 #4971F0 #F049C5
split-complementary
#F0C849 #49C5F0 #7549F0
monochromatic
#B0890F #E9B613 #F0C849 #F5D982 #F9EABA

Accessibility & contrast

On white

1.61
#F0C849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#F0C849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C849
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C849#FFFFFF#000000##000000
##F0C8491.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC538
Deuteranopia (green-blind)
#E7D14F
Tritanopia (blue-blind)
#FFB8AE
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #f0c849;
/* rgb */ color: rgb(240, 200, 73);
/* oklch */ color: oklch(84.5% 0.147 91.1);
Tailwind
colors: {
  custom: {
    50: '#f9d883',
    500: '#f0c849',
    950: '#000000',
  },
}
SCSS
$custom: #f0c849;
$custom-light: #f9d883;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c849",
  "rgb": {
    "r": 240,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 45.629,
    "s": 84.772,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84543,
    "c": 0.1473,
    "h": 91.1
  },
  "luminance": 0.60315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0C849

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

Preview Lab → · Contrast checker → · Palette generator →

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