#F0D376#F0D376

#F0D376 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 87.2% C 0.118 H 92.5°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#F0D376
RGBrgb(240, 211, 118)
HSLhsl(46, 80%, 70%)
HSVhsv(46, 51%, 94%)
CMYKcmyk(0%, 12.1%, 50.8%, 5.9%)
CIE-LABlab(85.21, -1.46, 49.38)
CIE-LCHlch(85.21, 49.40, 91.70°)
OKLaboklab(87.21% -0.0051 0.1175)
OKLCHoklch(87.21% 0.118 92.5)
XYZxyz(62.5017, 66.4246, 26.6650)
Luminance0.6642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D376 #7693F0
analogous
#F09676 #F0D376 #D0F076
triadic
#F0D376 #76F0D3 #D376F0
tetradic
#F0D376 #76F096 #7693F0 #F076D0
square
#F0D376 #76F096 #7693F0 #F076D0
split-complementary
#F0D376 #76D0F0 #9676F0
monochromatic
#D4A717 #EAC13F #F0D376 #F6E5AD #FCF6E3

Accessibility & contrast

On white

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

On black

14.28
#F0D376 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D376
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D376#FFFFFF#000000##000000
##F0D3761.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06E
Deuteranopia (green-blind)
#ECD97A
Tritanopia (blue-blind)
#FFC6BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d376;
/* rgb */ color: rgb(240, 211, 118);
/* oklch */ color: oklch(87.2% 0.118 92.5);
Tailwind
colors: {
  custom: {
    50: '#f7e09f',
    500: '#f0d376',
    950: '#000000',
  },
}
SCSS
$custom: #f0d376;
$custom-light: #f7e09f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d376",
  "rgb": {
    "r": 240,
    "g": 211,
    "b": 118
  },
  "hsl": {
    "h": 45.738,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87209,
    "c": 0.11756,
    "h": 92.5
  },
  "luminance": 0.66422
}

Semantic roles & 50–950 ramp

primary
#F0D376
secondary
#4161CA
accent
#3BDD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0D376

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

Preview Lab → · Contrast checker → · Palette generator →

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