#F2D678#F2D678

#F2D678 is a very light, moderate yellow. Relative luminance 0.683; OKLCH L 88.0% C 0.118 H 93.2°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#F2D678
RGBrgb(242, 214, 120)
HSLhsl(46, 82%, 71%)
HSVhsv(46, 50%, 95%)
CMYKcmyk(0%, 11.6%, 50.4%, 5.1%)
CIE-LABlab(86.17, -2.02, 49.61)
CIE-LCHlch(86.17, 49.65, 92.33°)
OKLaboklab(88.02% -0.0066 0.1181)
OKLCHoklch(88.02% 0.118 93.2)
XYZxyz(64.0569, 68.3292, 27.5804)
Luminance0.6833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D678 #7894F2
analogous
#F29978 #F2D678 #D1F278
triadic
#F2D678 #78F2D6 #D678F2
tetradic
#F2D678 #78F299 #7894F2 #F278D1
square
#F2D678 #78F299 #7894F2 #F278D1
split-complementary
#F2D678 #78D1F2 #9978F2
monochromatic
#DBAD15 #EDC540 #F2D678 #F7E7B0 #FCF7E3

Accessibility & contrast

On white

1.43
#F2D678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#F2D678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D678
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D678#FFFFFF#000000##000000
##F2D6781.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D370
Deuteranopia (green-blind)
#EFDB7C
Tritanopia (blue-blind)
#FFC9C0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d678;
/* rgb */ color: rgb(242, 214, 120);
/* oklch */ color: oklch(88.0% 0.118 93.2);
Tailwind
colors: {
  custom: {
    50: '#f9e2a1',
    500: '#f2d678',
    950: '#000000',
  },
}
SCSS
$custom: #f2d678;
$custom-light: #f9e2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d678",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 120
  },
  "hsl": {
    "h": 46.23,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.88015,
    "c": 0.1183,
    "h": 93.2
  },
  "luminance": 0.68326
}

Semantic roles & 50–950 ramp

primary
#F2D678
secondary
#4262CC
accent
#38DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D678

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

Preview Lab → · Contrast checker → · Palette generator →

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