#F0D13F#F0D13F

#F0D13F is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.3% C 0.159 H 96.6°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#F0D13F
RGBrgb(240, 209, 63)
HSLhsl(49, 86%, 59%)
HSVhsv(49, 74%, 94%)
CMYKcmyk(0%, 12.9%, 73.8%, 5.9%)
CIE-LABlab(84.22, -3.93, 71.83)
CIE-LCHlch(84.22, 71.94, 93.13°)
OKLaboklab(86.27% -0.0184 0.158)
OKLCHoklch(86.27% 0.159 96.6)
XYZxyz(59.6359, 64.4883, 14.0080)
Luminance0.6449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D13F #3F5EF0
analogous
#F0793F #F0D13F #B6F03F
triadic
#F0D13F #3FF0D1 #D13FF0
tetradic
#F0D13F #3FF079 #3F5EF0 #F03FB6
square
#F0D13F #3FF079 #3F5EF0 #F03FB6
split-complementary
#F0D13F #3FB6F0 #793FF0
monochromatic
#A88C0D #E0BC12 #F0D13F #F4DF78 #F9ECB1

Accessibility & contrast

On white

1.51
#F0D13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#F0D13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D13F
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D13F#FFFFFF#000000##000000
##F0D13F1.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC25
Deuteranopia (green-blind)
#EED648
Tritanopia (blue-blind)
#FFC1B5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f0d13f;
/* rgb */ color: rgb(240, 209, 63);
/* oklch */ color: oklch(86.3% 0.159 96.6);
Tailwind
colors: {
  custom: {
    50: '#f9de7e',
    500: '#f0d13f',
    950: '#000000',
  },
}
SCSS
$custom: #f0d13f;
$custom-light: #f9de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d13f",
  "rgb": {
    "r": 240,
    "g": 209,
    "b": 63
  },
  "hsl": {
    "h": 49.492,
    "s": 85.507,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86267,
    "c": 0.15905,
    "h": 96.6
  },
  "luminance": 0.64485
}

Semantic roles & 50–950 ramp

primary
#F0D13F
secondary
#2A41A9
accent
#50FC2C
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #F0D13F

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

Preview Lab → · Contrast checker → · Palette generator →

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