#F2D775#F2D775

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

Color values

HEX#F2D775
RGBrgb(242, 215, 117)
HSLhsl(47, 83%, 70%)
HSVhsv(47, 52%, 95%)
CMYKcmyk(0%, 11.2%, 51.7%, 5.1%)
CIE-LABlab(86.39, -2.78, 51.31)
CIE-LCHlch(86.39, 51.39, 93.10°)
OKLaboklab(88.18% -0.0092 0.1216)
OKLCHoklch(88.18% 0.122 94.3)
XYZxyz(64.1315, 68.7653, 26.7211)
Luminance0.6876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D775 #7590F2
analogous
#F29875 #F2D775 #CEF275
triadic
#F2D775 #75F2D7 #D775F2
tetradic
#F2D775 #75F298 #7590F2 #F275CE
square
#F2D775 #75F298 #7590F2 #F275CE
split-complementary
#F2D775 #75CEF2 #9875F2
monochromatic
#D8AE14 #EDC73D #F2D775 #F7E7AD #FCF7E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D775#FFFFFF#000000##000000
##F2D7751.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)
#E9D36C
Deuteranopia (green-blind)
#F0DC79
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d775;
/* rgb */ color: rgb(242, 215, 117);
/* oklch */ color: oklch(88.2% 0.122 94.3);
Tailwind
colors: {
  custom: {
    50: '#f9e39f',
    500: '#f2d775',
    950: '#000000',
  },
}
SCSS
$custom: #f2d775;
$custom-light: #f9e39f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d775",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 117
  },
  "hsl": {
    "h": 47.04,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88175,
    "c": 0.12195,
    "h": 94.3
  },
  "luminance": 0.68762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D775

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

Preview Lab → · Contrast checker → · Palette generator →

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