#F0D461#F0D461

#F0D461 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.2% C 0.137 H 95.7°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#F0D461
RGBrgb(240, 212, 97)
HSLhsl(48, 83%, 66%)
HSVhsv(48, 60%, 94%)
CMYKcmyk(0%, 11.7%, 59.6%, 5.9%)
CIE-LABlab(85.24, -3.59, 59.20)
CIE-LCHlch(85.24, 59.31, 93.47°)
OKLaboklab(87.16% -0.0137 0.1366)
OKLCHoklch(87.16% 0.137 95.7)
XYZxyz(61.6389, 66.4782, 20.8918)
Luminance0.6647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D461 #617DF0
analogous
#F08C61 #F0D461 #C4F061
triadic
#F0D461 #61F0D4 #D461F0
tetradic
#F0D461 #61F08C #617DF0 #F061C4
square
#F0D461 #61F08C #617DF0 #F061C4
split-complementary
#F0D461 #61C4F0 #8C61F0
monochromatic
#C4A113 #EBC529 #F0D461 #F5E399 #FBF2D1

Accessibility & contrast

On white

1.47
#F0D461 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#F0D461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D461
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D461#FFFFFF#000000##000000
##F0D4611.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d461;
/* rgb */ color: rgb(240, 212, 97);
/* oklch */ color: oklch(87.2% 0.137 95.7);
Tailwind
colors: {
  custom: {
    50: '#f8e092',
    500: '#f0d461',
    950: '#000000',
  },
}
SCSS
$custom: #f0d461;
$custom-light: #f8e092;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d461",
  "rgb": {
    "r": 240,
    "g": 212,
    "b": 97
  },
  "hsl": {
    "h": 48.252,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87158,
    "c": 0.13727,
    "h": 95.7
  },
  "luminance": 0.66475
}

Semantic roles & 50–950 ramp

primary
#F0D461
secondary
#344FC2
accent
#31DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D461

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

Preview Lab → · Contrast checker → · Palette generator →

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