#F0D76A#F0D76A

#F0D76A is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.9% C 0.132 H 96.6°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#F0D76A
RGBrgb(240, 215, 106)
HSLhsl(49, 82%, 68%)
HSVhsv(49, 56%, 94%)
CMYKcmyk(0%, 10.4%, 55.8%, 5.9%)
CIE-LABlab(86.09, -4.47, 56.08)
CIE-LCHlch(86.09, 56.26, 94.55°)
OKLaboklab(87.86% -0.0152 0.131)
OKLCHoklch(87.86% 0.132 96.6)
XYZxyz(62.8395, 68.1695, 23.4809)
Luminance0.6817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D76A #6A83F0
analogous
#F0946A #F0D76A #C6F06A
triadic
#F0D76A #6AF0D7 #D76AF0
tetradic
#F0D76A #6AF094 #6A83F0 #F06AC6
square
#F0D76A #6AF094 #6A83F0 #F06AC6
split-complementary
#F0D76A #6AC6F0 #946AF0
monochromatic
#CBA914 #EAC832 #F0D76A #F6E6A2 #FBF5D9

Accessibility & contrast

On white

1.44
#F0D76A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#F0D76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D76A
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D76A#FFFFFF#000000##000000
##F0D76A1.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D35F
Deuteranopia (green-blind)
#F0DB6F
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d76a;
/* rgb */ color: rgb(240, 215, 106);
/* oklch */ color: oklch(87.9% 0.132 96.6);
Tailwind
colors: {
  custom: {
    50: '#f8e398',
    500: '#f0d76a',
    950: '#000000',
  },
}
SCSS
$custom: #f0d76a;
$custom-light: #f8e398;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d76a",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 106
  },
  "hsl": {
    "h": 48.806,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.8786,
    "c": 0.13182,
    "h": 96.6
  },
  "luminance": 0.68167
}

Semantic roles & 50–950 ramp

primary
#F0D76A
secondary
#3652C8
accent
#2FDE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D76A

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

Preview Lab → · Contrast checker → · Palette generator →

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