#F0D676#F0D676

#F0D676 is a very light, moderate yellow. Relative luminance 0.679; OKLCH L 87.8% C 0.120 H 94.6°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#F0D676
RGBrgb(240, 214, 118)
HSLhsl(47, 80%, 70%)
HSVhsv(47, 51%, 94%)
CMYKcmyk(0%, 10.8%, 50.8%, 5.9%)
CIE-LABlab(85.97, -2.99, 50.29)
CIE-LCHlch(85.97, 50.38, 93.41°)
OKLaboklab(87.81% -0.0096 0.1195)
OKLCHoklch(87.81% 0.12 94.6)
XYZxyz(63.2539, 67.9291, 26.9158)
Luminance0.6793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D676 #7690F0
analogous
#F09976 #F0D676 #CDF076
triadic
#F0D676 #76F0D6 #D676F0
tetradic
#F0D676 #76F099 #7690F0 #F076CD
square
#F0D676 #76F099 #7690F0 #F076CD
split-complementary
#F0D676 #76CDF0 #9976F0
monochromatic
#D4AC17 #EAC53F #F0D676 #F6E7AD #FCF7E3

Accessibility & contrast

On white

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

On black

14.59
#F0D676 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D676
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D676#FFFFFF#000000##000000
##F0D6761.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D26E
Deuteranopia (green-blind)
#EEDB7A
Tritanopia (blue-blind)
#FFC9C0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d676;
/* rgb */ color: rgb(240, 214, 118);
/* oklch */ color: oklch(87.8% 0.120 94.6);
Tailwind
colors: {
  custom: {
    50: '#f7e29f',
    500: '#f0d676',
    950: '#000000',
  },
}
SCSS
$custom: #f0d676;
$custom-light: #f7e29f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d676",
  "rgb": {
    "r": 240,
    "g": 214,
    "b": 118
  },
  "hsl": {
    "h": 47.213,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87808,
    "c": 0.11985,
    "h": 94.6
  },
  "luminance": 0.67926
}

Semantic roles & 50–950 ramp

primary
#F0D676
secondary
#415ECA
accent
#36DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0D676

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

Preview Lab → · Contrast checker → · Palette generator →

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