#F2DD93#F2DD93

#F2DD93 is a very light, moderate yellow. Relative luminance 0.727; OKLCH L 89.8% C 0.096 H 94.1°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#F2DD93
RGBrgb(242, 221, 147)
HSLhsl(47, 79%, 76%)
HSVhsv(47, 39%, 95%)
CMYKcmyk(0%, 8.7%, 39.3%, 5.1%)
CIE-LABlab(88.30, -2.96, 38.95)
CIE-LCHlch(88.30, 39.06, 94.35°)
OKLaboklab(89.82% -0.0069 0.0957)
OKLCHoklch(89.82% 0.096 94.1)
XYZxyz(67.7423, 72.6990, 38.0620)
Luminance0.7270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD93 #93A8F2
analogous
#F2AE93 #F2DD93 #D8F293
triadic
#F2DD93 #93F2DD #DD93F2
tetradic
#F2DD93 #93F2AE #93A8F2 #F293D8
square
#F2DD93 #93F2AE #93A8F2 #F293D8
split-complementary
#F2DD93 #93D8F2 #AE93F2
monochromatic
#E5BB26 #EBCC5C #F2DD93 #F9EECA #FCF6E4

Accessibility & contrast

On white

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

On black

15.54
#F2DD93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD93
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD93#FFFFFF#000000##000000
##F2DD931.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDA8E
Deuteranopia (green-blind)
#F1E096
Tritanopia (blue-blind)
#FFD2CA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2dd93;
/* rgb */ color: rgb(242, 221, 147);
/* oklch */ color: oklch(89.8% 0.096 94.1);
Tailwind
colors: {
  custom: {
    50: '#f8e7b3',
    500: '#f2dd93',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd93;
$custom-light: #f8e7b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd93",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 147
  },
  "hsl": {
    "h": 46.737,
    "s": 78.512,
    "l": 76.275
  },
  "oklch": {
    "l": 0.89819,
    "c": 0.09593,
    "h": 94.1
  },
  "luminance": 0.72697
}

Semantic roles & 50–950 ramp

primary
#F2DD93
secondary
#5A74CF
accent
#39DB0B
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2DD93

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

Preview Lab → · Contrast checker → · Palette generator →

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