#F2DA8D#F2DA8D

#F2DA8D is a very light, moderate yellow. Relative luminance 0.709; OKLCH L 89.1% C 0.100 H 92.7°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#F2DA8D
RGBrgb(242, 218, 141)
HSLhsl(46, 80%, 75%)
HSVhsv(46, 42%, 95%)
CMYKcmyk(0%, 9.9%, 41.7%, 5.1%)
CIE-LABlab(87.46, -2.07, 40.87)
CIE-LCHlch(87.46, 40.92, 92.89°)
OKLaboklab(89.12% -0.0048 0.0998)
OKLCHoklch(89.12% 0.1 92.7)
XYZxyz(66.4987, 70.9456, 35.3852)
Luminance0.7094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA8D #8DA5F2
analogous
#F2A88D #F2DA8D #D7F28D
triadic
#F2DA8D #8DF2DA #DA8DF2
tetradic
#F2DA8D #8DF2A8 #8DA5F2 #F28DD7
square
#F2DA8D #8DF2A8 #8DA5F2 #F28DD7
split-complementary
#F2DA8D #8DD7F2 #A88DF2
monochromatic
#E5B61F #ECC856 #F2DA8D #F8ECC4 #FCF6E4

Accessibility & contrast

On white

1.38
#F2DA8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#F2DA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DA8D
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DA8D#FFFFFF#000000##000000
##F2DA8D1.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D787
Deuteranopia (green-blind)
#F0DE90
Tritanopia (blue-blind)
#FFCFC7
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2da8d;
/* rgb */ color: rgb(242, 218, 141);
/* oklch */ color: oklch(89.1% 0.100 92.7);
Tailwind
colors: {
  custom: {
    50: '#f8e5af',
    500: '#f2da8d',
    950: '#000000',
  },
}
SCSS
$custom: #f2da8d;
$custom-light: #f8e5af;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da8d",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 141
  },
  "hsl": {
    "h": 45.743,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.89123,
    "c": 0.09994,
    "h": 92.7
  },
  "luminance": 0.70943
}

Semantic roles & 50–950 ramp

primary
#F2DA8D
secondary
#5572CF
accent
#3CDC0A
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F2DA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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