#F2D773#F2D773

#F2D773 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.124 H 94.6°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#F2D773
RGBrgb(242, 215, 115)
HSLhsl(47, 83%, 70%)
HSVhsv(47, 52%, 95%)
CMYKcmyk(0%, 11.2%, 52.5%, 5.1%)
CIE-LABlab(86.36, -2.95, 52.24)
CIE-LCHlch(86.36, 52.32, 93.23°)
OKLaboklab(88.15% -0.0099 0.1235)
OKLCHoklch(88.15% 0.124 94.6)
XYZxyz(64.0152, 68.7187, 26.1084)
Luminance0.6872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D773 #738EF2
analogous
#F29773 #F2D773 #CEF273
triadic
#F2D773 #73F2D7 #D773F2
tetradic
#F2D773 #73F297 #738EF2 #F273CE
square
#F2D773 #73F297 #738EF2 #F273CE
split-complementary
#F2D773 #73CEF2 #9773F2
monochromatic
#D7AD14 #EDC73B #F2D773 #F7E7AB #FCF7E3

Accessibility & contrast

On white

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

On black

14.74
#F2D773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D773
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D773#FFFFFF#000000##000000
##F2D7731.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d773;
/* rgb */ color: rgb(242, 215, 115);
/* oklch */ color: oklch(88.1% 0.124 94.6);
Tailwind
colors: {
  custom: {
    50: '#f9e39d',
    500: '#f2d773',
    950: '#000000',
  },
}
SCSS
$custom: #f2d773;
$custom-light: #f9e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d773",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 115
  },
  "hsl": {
    "h": 47.244,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.8815,
    "c": 0.12384,
    "h": 94.6
  },
  "luminance": 0.68716
}

Semantic roles & 50–950 ramp

primary
#F2D773
secondary
#3D5CCC
accent
#34DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D773

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

Preview Lab → · Contrast checker → · Palette generator →

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