#F2DF92#F2DF92

#F2DF92 is a very light, moderate yellow. Relative luminance 0.737; OKLCH L 90.2% C 0.099 H 96.0°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#F2DF92
RGBrgb(242, 223, 146)
HSLhsl(48, 79%, 76%)
HSVhsv(48, 40%, 95%)
CMYKcmyk(0%, 7.9%, 39.7%, 5.1%)
CIE-LABlab(88.79, -4.08, 40.08)
CIE-LCHlch(88.79, 40.29, 95.82°)
OKLaboklab(90.2% -0.0102 0.0983)
OKLCHoklch(90.2% 0.099 96)
XYZxyz(68.1954, 73.7301, 37.8276)
Luminance0.7373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF92 #92A5F2
analogous
#F2AF92 #F2DF92 #D5F292
triadic
#F2DF92 #92F2DF #DF92F2
tetradic
#F2DF92 #92F2AF #92A5F2 #F292D5
square
#F2DF92 #92F2AF #92A5F2 #F292D5
split-complementary
#F2DF92 #92D5F2 #AF92F2
monochromatic
#E5BF25 #EBCF5B #F2DF92 #F9EFC9 #FCF7E4

Accessibility & contrast

On white

1.33
#F2DF92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#F2DF92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF92
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF92#FFFFFF#000000##000000
##F2DF921.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDB8C
Deuteranopia (green-blind)
#F3E295
Tritanopia (blue-blind)
#FFD4CC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2df92;
/* rgb */ color: rgb(242, 223, 146);
/* oklch */ color: oklch(90.2% 0.099 96.0);
Tailwind
colors: {
  custom: {
    50: '#f8e8b3',
    500: '#f2df92',
    950: '#000000',
  },
}
SCSS
$custom: #f2df92;
$custom-light: #f8e8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df92",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 146
  },
  "hsl": {
    "h": 48.125,
    "s": 78.689,
    "l": 76.078
  },
  "oklch": {
    "l": 0.90202,
    "c": 0.09878,
    "h": 96
  },
  "luminance": 0.73728
}

Semantic roles & 50–950 ramp

primary
#F2DF92
secondary
#5971CF
accent
#34DB0B
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2DF92

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

Preview Lab → · Contrast checker → · Palette generator →

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