#F0D678#F0D678

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

Color values

HEX#F0D678
RGBrgb(240, 214, 120)
HSLhsl(47, 80%, 71%)
HSVhsv(47, 50%, 94%)
CMYKcmyk(0%, 10.8%, 50%, 5.9%)
CIE-LABlab(86.00, -2.82, 49.36)
CIE-LCHlch(86.00, 49.44, 93.27°)
OKLaboklab(87.84% -0.0089 0.1176)
OKLCHoklch(87.84% 0.118 94.3)
XYZxyz(63.3740, 67.9771, 27.5484)
Luminance0.6797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D678 #7892F0
analogous
#F09A78 #F0D678 #CEF078
triadic
#F0D678 #78F0D6 #D678F0
tetradic
#F0D678 #78F09A #7892F0 #F078CE
square
#F0D678 #78F09A #7892F0 #F078CE
split-complementary
#F0D678 #78CEF0 #9A78F0
monochromatic
#D6AD18 #EAC541 #F0D678 #F6E7AF #FCF7E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0D678#FFFFFF#000000##000000
##F0D6781.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)
#E7D270
Deuteranopia (green-blind)
#EEDB7C
Tritanopia (blue-blind)
#FFC9C0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d678;
/* rgb */ color: rgb(240, 214, 120);
/* oklch */ color: oklch(87.8% 0.118 94.3);
Tailwind
colors: {
  custom: {
    50: '#f7e2a1',
    500: '#f0d678',
    950: '#000000',
  },
}
SCSS
$custom: #f0d678;
$custom-light: #f7e2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d678",
  "rgb": {
    "r": 240,
    "g": 214,
    "b": 120
  },
  "hsl": {
    "h": 47,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.87835,
    "c": 0.11791,
    "h": 94.3
  },
  "luminance": 0.67974
}

Semantic roles & 50–950 ramp

primary
#F0D678
secondary
#4260CA
accent
#37DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0D678

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

Preview Lab → · Contrast checker → · Palette generator →

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