#F2D774#F2D774

#F2D774 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.2% C 0.123 H 94.4°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#F2D774
RGBrgb(242, 215, 116)
HSLhsl(47, 83%, 70%)
HSVhsv(47, 52%, 95%)
CMYKcmyk(0%, 11.2%, 52.1%, 5.1%)
CIE-LABlab(86.38, -2.86, 51.78)
CIE-LCHlch(86.38, 51.86, 93.17°)
OKLaboklab(88.16% -0.0095 0.1225)
OKLCHoklch(88.16% 0.123 94.4)
XYZxyz(64.0731, 68.7419, 26.4131)
Luminance0.6874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D774 #748FF2
analogous
#F29874 #F2D774 #CEF274
triadic
#F2D774 #74F2D7 #D774F2
tetradic
#F2D774 #74F298 #748FF2 #F274CE
square
#F2D774 #74F298 #748FF2 #F274CE
split-complementary
#F2D774 #74CEF2 #9874F2
monochromatic
#D7AE14 #EDC73C #F2D774 #F7E7AC #FCF7E3

Accessibility & contrast

On white

1.42
#F2D774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#F2D774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D774
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D774#FFFFFF#000000##000000
##F2D7741.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D36B
Deuteranopia (green-blind)
#F0DC78
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d774;
/* rgb */ color: rgb(242, 215, 116);
/* oklch */ color: oklch(88.2% 0.123 94.4);
Tailwind
colors: {
  custom: {
    50: '#f9e39e',
    500: '#f2d774',
    950: '#000000',
  },
}
SCSS
$custom: #f2d774;
$custom-light: #f9e39e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d774",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 116
  },
  "hsl": {
    "h": 47.143,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88162,
    "c": 0.1229,
    "h": 94.4
  },
  "luminance": 0.68739
}

Semantic roles & 50–950 ramp

primary
#F2D774
secondary
#3E5DCC
accent
#35DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D774

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

Preview Lab → · Contrast checker → · Palette generator →

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