#F0D361#F0D361

#F0D361 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 87.0% C 0.137 H 95.1°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#F0D361
RGBrgb(240, 211, 97)
HSLhsl(48, 83%, 66%)
HSVhsv(48, 60%, 94%)
CMYKcmyk(0%, 12.1%, 59.6%, 5.9%)
CIE-LABlab(84.99, -3.08, 58.91)
CIE-LCHlch(84.99, 58.99, 92.99°)
OKLaboklab(86.96% -0.0122 0.136)
OKLCHoklch(86.96% 0.137 95.1)
XYZxyz(61.3897, 65.9798, 20.8087)
Luminance0.6598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D361 #617EF0
analogous
#F08B61 #F0D361 #C5F061
triadic
#F0D361 #61F0D3 #D361F0
tetradic
#F0D361 #61F08B #617EF0 #F061C5
square
#F0D361 #61F08B #617EF0 #F061C5
split-complementary
#F0D361 #61C5F0 #8B61F0
monochromatic
#C4A013 #EBC329 #F0D361 #F5E399 #FBF2D1

Accessibility & contrast

On white

1.48
#F0D361 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#F0D361 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D361
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D361#FFFFFF#000000##000000
##F0D3611.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF55
Deuteranopia (green-blind)
#EED866
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f0d361;
/* rgb */ color: rgb(240, 211, 97);
/* oklch */ color: oklch(87.0% 0.137 95.1);
Tailwind
colors: {
  custom: {
    50: '#f8e092',
    500: '#f0d361',
    950: '#000000',
  },
}
SCSS
$custom: #f0d361;
$custom-light: #f8e092;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d361",
  "rgb": {
    "r": 240,
    "g": 211,
    "b": 97
  },
  "hsl": {
    "h": 47.832,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86957,
    "c": 0.13653,
    "h": 95.1
  },
  "luminance": 0.65977
}

Semantic roles & 50–950 ramp

primary
#F0D361
secondary
#3450C2
accent
#32DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D361

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

Preview Lab → · Contrast checker → · Palette generator →

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