#F2DE7D#F2DE7D

#F2DE7D is a very light, moderate yellow. Relative luminance 0.726; OKLCH L 89.7% C 0.120 H 98.0°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#F2DE7D
RGBrgb(242, 222, 125)
HSLhsl(50, 82%, 72%)
HSVhsv(50, 48%, 95%)
CMYKcmyk(0%, 8.3%, 48.3%, 5.1%)
CIE-LABlab(88.26, -5.64, 49.74)
CIE-LCHlch(88.26, 50.06, 96.46°)
OKLaboklab(89.69% -0.0166 0.1188)
OKLCHoklch(89.69% 0.12 98)
XYZxyz(66.4429, 72.6029, 29.9119)
Luminance0.7260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE7D #7D91F2
analogous
#F2A47D #F2DE7D #CBF27D
triadic
#F2DE7D #7DF2DE #DE7DF2
tetradic
#F2DE7D #7DF2A4 #7D91F2 #F27DCB
square
#F2DE7D #7DF2A4 #7D91F2 #F27DCB
split-complementary
#F2DE7D #7DCBF2 #A47DF2
monochromatic
#DEBC16 #ECD045 #F2DE7D #F8ECB5 #FCF8E3

Accessibility & contrast

On white

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

On black

15.52
#F2DE7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE7D
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE7D#FFFFFF#000000##000000
##F2DE7D1.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD975
Deuteranopia (green-blind)
#F4E181
Tritanopia (blue-blind)
#FFD1C7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2de7d;
/* rgb */ color: rgb(242, 222, 125);
/* oklch */ color: oklch(89.7% 0.120 98.0);
Tailwind
colors: {
  custom: {
    50: '#f8e8a4',
    500: '#f2de7d',
    950: '#000000',
  },
}
SCSS
$custom: #f2de7d;
$custom-light: #f8e8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de7d",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 125
  },
  "hsl": {
    "h": 49.744,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.89685,
    "c": 0.11994,
    "h": 98
  },
  "luminance": 0.726
}

Semantic roles & 50–950 ramp

primary
#F2DE7D
secondary
#465DCD
accent
#2CDE07
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #F2DE7D

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

Preview Lab → · Contrast checker → · Palette generator →

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