#F2DFA1#F2DFA1

#F2DFA1 is a very light, moderate yellow. Relative luminance 0.742; OKLCH L 90.5% C 0.082 H 93.1°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#F2DFA1
RGBrgb(242, 223, 161)
HSLhsl(46, 76%, 79%)
HSVhsv(46, 33%, 95%)
CMYKcmyk(0%, 7.9%, 33.5%, 5.1%)
CIE-LABlab(89.03, -2.39, 32.80)
CIE-LCHlch(89.03, 32.88, 94.17°)
OKLaboklab(90.46% -0.0044 0.0818)
OKLCHoklch(90.46% 0.082 93.1)
XYZxyz(69.4397, 74.2279, 44.3809)
Luminance0.7423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DFA1 #A1B4F2
analogous
#F2B7A1 #F2DFA1 #DDF2A1
triadic
#F2DFA1 #A1F2DF #DFA1F2
tetradic
#F2DFA1 #A1F2B7 #A1B4F2 #F2A1DD
square
#F2DFA1 #A1F2B7 #A1B4F2 #F2A1DD
split-complementary
#F2DFA1 #A1DDF2 #B7A1F2
monochromatic
#E3BA35 #EBCD6B #F2DFA1 #F9F1D7 #FBF6E4

Accessibility & contrast

On white

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

On black

15.85
#F2DFA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DFA1
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DFA1#FFFFFF#000000##000000
##F2DFA11.001.3315.8515.85
#FFFFFF1.331.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDC9D
Deuteranopia (green-blind)
#F1E2A3
Tritanopia (blue-blind)
#FED6CF
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2dfa1;
/* rgb */ color: rgb(242, 223, 161);
/* oklch */ color: oklch(90.5% 0.082 93.1);
Tailwind
colors: {
  custom: {
    50: '#f7e8bd',
    500: '#f2dfa1',
    950: '#000000',
  },
}
SCSS
$custom: #f2dfa1;
$custom-light: #f7e8bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dfa1",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 161
  },
  "hsl": {
    "h": 45.926,
    "s": 75.701,
    "l": 79.02
  },
  "oklch": {
    "l": 0.90465,
    "c": 0.08193,
    "h": 93.1
  },
  "luminance": 0.74226
}

Semantic roles & 50–950 ramp

primary
#F2DFA1
secondary
#6780D0
accent
#3DD80E
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171612
muted
#858482

Preview Lab

Preview with #F2DFA1

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

Preview Lab → · Contrast checker → · Palette generator →

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