#F2DFA2#F2DFA2

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

Color values

HEX#F2DFA2
RGBrgb(242, 223, 162)
HSLhsl(46, 75%, 79%)
HSVhsv(46, 33%, 95%)
CMYKcmyk(0%, 7.9%, 33.1%, 5.1%)
CIE-LABlab(89.05, -2.27, 32.31)
CIE-LCHlch(89.05, 32.39, 94.02°)
OKLaboklab(90.48% -0.004 0.0807)
OKLCHoklch(90.48% 0.081 92.8)
XYZxyz(69.5282, 74.2633, 44.8471)
Luminance0.7426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DFA2 #A2B5F2
analogous
#F2B7A2 #F2DFA2 #DDF2A2
triadic
#F2DFA2 #A2F2DF #DFA2F2
tetradic
#F2DFA2 #A2F2B7 #A2B5F2 #F2A2DD
square
#F2DFA2 #A2F2B7 #A2B5F2 #F2A2DD
split-complementary
#F2DFA2 #A2DDF2 #B7A2F2
monochromatic
#E3BA37 #EACD6C #F2DFA2 #FAF1D8 #FBF6E4

Accessibility & contrast

On white

1.32
#F2DFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2DFA2#FFFFFF#000000##000000
##F2DFA21.001.3215.8515.85
#FFFFFF1.321.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2dfa2;
/* rgb */ color: rgb(242, 223, 162);
/* oklch */ color: oklch(90.5% 0.081 92.8);
Tailwind
colors: {
  custom: {
    50: '#f7e8be',
    500: '#f2dfa2',
    950: '#000000',
  },
}
SCSS
$custom: #f2dfa2;
$custom-light: #f7e8be;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dfa2",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 162
  },
  "hsl": {
    "h": 45.75,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.90483,
    "c": 0.08078,
    "h": 92.8
  },
  "luminance": 0.74261
}

Semantic roles & 50–950 ramp

primary
#F2DFA2
secondary
#6881D0
accent
#3ED80E
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171612
muted
#858482

Preview Lab

Preview with #F2DFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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