#F2DF75#F2DF75

#F2DF75 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.8% C 0.129 H 99.3°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#F2DF75
RGBrgb(242, 223, 117)
HSLhsl(51, 83%, 70%)
HSVhsv(51, 52%, 95%)
CMYKcmyk(0%, 7.9%, 51.7%, 5.1%)
CIE-LABlab(88.42, -6.83, 53.74)
CIE-LCHlch(88.42, 54.17, 97.24°)
OKLaboklab(89.78% -0.0209 0.1269)
OKLCHoklch(89.78% 0.129 99.3)
XYZxyz(66.2186, 72.9395, 27.4168)
Luminance0.7294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF75 #7588F2
analogous
#F2A075 #F2DF75 #C6F275
triadic
#F2DF75 #75F2DF #DF75F2
tetradic
#F2DF75 #75F2A0 #7588F2 #F275C6
square
#F2DF75 #75F2A0 #7588F2 #F275C6
split-complementary
#F2DF75 #75C6F2 #A075F2
monochromatic
#D8BA14 #EDD23D #F2DF75 #F7ECAD #FCF9E3

Accessibility & contrast

On white

1.35
#F2DF75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.59
#F2DF75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF75
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF75#FFFFFF#000000##000000
##F2DF751.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6B
Deuteranopia (green-blind)
#F6E17A
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2df75;
/* rgb */ color: rgb(242, 223, 117);
/* oklch */ color: oklch(89.8% 0.129 99.3);
Tailwind
colors: {
  custom: {
    50: '#f9e89f',
    500: '#f2df75',
    950: '#000000',
  },
}
SCSS
$custom: #f2df75;
$custom-light: #f9e89f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df75",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 117
  },
  "hsl": {
    "h": 50.88,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89783,
    "c": 0.12862,
    "h": 99.3
  },
  "luminance": 0.72937
}

Semantic roles & 50–950 ramp

primary
#F2DF75
secondary
#3F55CC
accent
#27DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2DF75

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

Preview Lab → · Contrast checker → · Palette generator →

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