#F0D161#F0D161

#F0D161 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.6% C 0.135 H 93.9°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#F0D161
RGBrgb(240, 209, 97)
HSLhsl(47, 83%, 66%)
HSVhsv(47, 60%, 94%)
CMYKcmyk(0%, 12.9%, 59.6%, 5.9%)
CIE-LABlab(84.48, -2.06, 58.34)
CIE-LCHlch(84.48, 58.38, 92.02°)
OKLaboklab(86.56% -0.0092 0.1348)
OKLCHoklch(86.56% 0.135 93.9)
XYZxyz(60.8960, 64.9923, 20.6441)
Luminance0.6499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D161 #6180F0
analogous
#F08961 #F0D161 #C7F061
triadic
#F0D161 #61F0D1 #D161F0
tetradic
#F0D161 #61F089 #6180F0 #F061C7
square
#F0D161 #61F089 #6180F0 #F061C7
split-complementary
#F0D161 #61C7F0 #8961F0
monochromatic
#C49E13 #EBC129 #F0D161 #F5E199 #FBF2D1

Accessibility & contrast

On white

1.50
#F0D161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#F0D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D161
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D161#FFFFFF#000000##000000
##F0D1611.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD55
Deuteranopia (green-blind)
#ECD766
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d161;
/* rgb */ color: rgb(240, 209, 97);
/* oklch */ color: oklch(86.6% 0.135 93.9);
Tailwind
colors: {
  custom: {
    50: '#f8de92',
    500: '#f0d161',
    950: '#000000',
  },
}
SCSS
$custom: #f0d161;
$custom-light: #f8de92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d161",
  "rgb": {
    "r": 240,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 46.993,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86557,
    "c": 0.13509,
    "h": 93.9
  },
  "luminance": 0.64989
}

Semantic roles & 50–950 ramp

primary
#F0D161
secondary
#3452C2
accent
#35DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D161

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

Preview Lab → · Contrast checker → · Palette generator →

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