#F0D165#F0D165

#F0D165 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.6% C 0.132 H 93.5°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#F0D165
RGBrgb(240, 209, 101)
HSLhsl(47, 82%, 67%)
HSVhsv(47, 58%, 94%)
CMYKcmyk(0%, 12.9%, 57.9%, 5.9%)
CIE-LABlab(84.52, -1.78, 56.57)
CIE-LCHlch(84.52, 56.60, 91.80°)
OKLaboklab(86.6% -0.008 0.1315)
OKLCHoklch(86.6% 0.132 93.5)
XYZxyz(61.0872, 65.0688, 21.6513)
Luminance0.6507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D165 #6584F0
analogous
#F08C65 #F0D165 #C9F065
triadic
#F0D165 #65F0D1 #D165F0
tetradic
#F0D165 #65F08C #6584F0 #F065C9
square
#F0D165 #65F08C #6584F0 #F065C9
split-complementary
#F0D165 #65C9F0 #8C65F0
monochromatic
#C79F13 #EBC02D #F0D165 #F5E29D #FBF2D5

Accessibility & contrast

On white

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

On black

14.01
#F0D165 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D165
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D165#FFFFFF#000000##000000
##F0D1651.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE5A
Deuteranopia (green-blind)
#ECD76A
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d165;
/* rgb */ color: rgb(240, 209, 101);
/* oklch */ color: oklch(86.6% 0.132 93.5);
Tailwind
colors: {
  custom: {
    50: '#f8de94',
    500: '#f0d165',
    950: '#000000',
  },
}
SCSS
$custom: #f0d165;
$custom-light: #f8de94;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d165",
  "rgb": {
    "r": 240,
    "g": 209,
    "b": 101
  },
  "hsl": {
    "h": 46.619,
    "s": 82.249,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86601,
    "c": 0.13169,
    "h": 93.5
  },
  "luminance": 0.65066
}

Semantic roles & 50–950 ramp

primary
#F0D165
secondary
#3555C4
accent
#37DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D165

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

Preview Lab → · Contrast checker → · Palette generator →

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