#F2DE75#F2DE75

#F2DE75 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.6% C 0.128 H 98.7°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#F2DE75
RGBrgb(242, 222, 117)
HSLhsl(50, 83%, 70%)
HSVhsv(50, 52%, 95%)
CMYKcmyk(0%, 8.3%, 51.7%, 5.1%)
CIE-LABlab(88.16, -6.33, 53.44)
CIE-LCHlch(88.16, 53.81, 96.75°)
OKLaboklab(89.58% -0.0194 0.1263)
OKLCHoklch(89.58% 0.128 98.7)
XYZxyz(65.9523, 72.4067, 27.3280)
Luminance0.7240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE75 #7589F2
analogous
#F29F75 #F2DE75 #C7F275
triadic
#F2DE75 #75F2DE #DE75F2
tetradic
#F2DE75 #75F29F #7589F2 #F275C7
square
#F2DE75 #75F29F #7589F2 #F275C7
split-complementary
#F2DE75 #75C7F2 #9F75F2
monochromatic
#D8B914 #EDD13D #F2DE75 #F7EBAD #FCF8E3

Accessibility & contrast

On white

1.36
#F2DE75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.48
#F2DE75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE75
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE75#FFFFFF#000000##000000
##F2DE751.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D96C
Deuteranopia (green-blind)
#F5E07A
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2de75;
/* rgb */ color: rgb(242, 222, 117);
/* oklch */ color: oklch(89.6% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#f9e89f',
    500: '#f2de75',
    950: '#000000',
  },
}
SCSS
$custom: #f2de75;
$custom-light: #f9e89f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de75",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 117
  },
  "hsl": {
    "h": 50.4,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89581,
    "c": 0.12774,
    "h": 98.7
  },
  "luminance": 0.72404
}

Semantic roles & 50–950 ramp

primary
#F2DE75
secondary
#3F56CC
accent
#29DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2DE75

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

Preview Lab → · Contrast checker → · Palette generator →

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