#F2DE6F#F2DE6F

#F2DE6F is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.5% C 0.133 H 99.3°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#F2DE6F
RGBrgb(242, 222, 111)
HSLhsl(51, 83%, 69%)
HSVhsv(51, 54%, 95%)
CMYKcmyk(0%, 8.3%, 54.1%, 5.1%)
CIE-LABlab(88.10, -6.81, 56.15)
CIE-LCHlch(88.10, 56.56, 96.91°)
OKLaboklab(89.51% -0.0215 0.1316)
OKLCHoklch(89.51% 0.133 99.3)
XYZxyz(65.6107, 72.2701, 25.5293)
Luminance0.7227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE6F #6F83F2
analogous
#F29D6F #F2DE6F #C4F26F
triadic
#F2DE6F #6FF2DE #DE6FF2
tetradic
#F2DE6F #6FF29D #6F83F2 #F26FC4
square
#F2DE6F #6FF29D #6F83F2 #F26FC4
split-complementary
#F2DE6F #6FC4F2 #9D6FF2
monochromatic
#D4B613 #EDD137 #F2DE6F #F7EBA7 #FCF8DF

Accessibility & contrast

On white

1.36
#F2DE6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.45
#F2DE6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE6F
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE6F#FFFFFF#000000##000000
##F2DE6F1.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D964
Deuteranopia (green-blind)
#F6E074
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2de6f;
/* rgb */ color: rgb(242, 222, 111);
/* oklch */ color: oklch(89.5% 0.133 99.3);
Tailwind
colors: {
  custom: {
    50: '#f9e89b',
    500: '#f2de6f',
    950: '#000000',
  },
}
SCSS
$custom: #f2de6f;
$custom-light: #f9e89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de6f",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 111
  },
  "hsl": {
    "h": 50.84,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89507,
    "c": 0.13332,
    "h": 99.3
  },
  "luminance": 0.72267
}

Semantic roles & 50–950 ramp

primary
#F2DE6F
secondary
#3A50CB
accent
#27E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DE6F

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

Preview Lab → · Contrast checker → · Palette generator →

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