#F2DF83#F2DF83

#F2DF83 is a very light, moderate yellow. Relative luminance 0.733; OKLCH L 90.0% C 0.115 H 98.0°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#F2DF83
RGBrgb(242, 223, 131)
HSLhsl(50, 81%, 73%)
HSVhsv(50, 46%, 95%)
CMYKcmyk(0%, 7.9%, 45.9%, 5.1%)
CIE-LABlab(88.59, -5.59, 47.24)
CIE-LCHlch(88.59, 47.57, 96.75°)
OKLaboklab(89.97% -0.0159 0.1137)
OKLCHoklch(89.97% 0.115 98)
XYZxyz(67.1042, 73.2937, 32.0807)
Luminance0.7329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF83 #8396F2
analogous
#F2A783 #F2DF83 #CDF283
triadic
#F2DF83 #83F2DF #DF83F2
tetradic
#F2DF83 #83F2A7 #8396F2 #F283CD
square
#F2DF83 #83F2A7 #8396F2 #F283CD
split-complementary
#F2DF83 #83CDF2 #A783F2
monochromatic
#E3C018 #ECD14C #F2DF83 #F8EDBA #FCF8E3

Accessibility & contrast

On white

1.34
#F2DF83 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.66
#F2DF83 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF83
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF83#FFFFFF#000000##000000
##F2DF831.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA7C
Deuteranopia (green-blind)
#F5E187
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2df83;
/* rgb */ color: rgb(242, 223, 131);
/* oklch */ color: oklch(90.0% 0.115 98.0);
Tailwind
colors: {
  custom: {
    50: '#f8e8a8',
    500: '#f2df83',
    950: '#000000',
  },
}
SCSS
$custom: #f2df83;
$custom-light: #f8e8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df83",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 131
  },
  "hsl": {
    "h": 49.73,
    "s": 81.022,
    "l": 73.137
  },
  "oklch": {
    "l": 0.89971,
    "c": 0.11475,
    "h": 98
  },
  "luminance": 0.73291
}

Semantic roles & 50–950 ramp

primary
#F2DF83
secondary
#4C62CD
accent
#2DDD08
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2DF83

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

Preview Lab → · Contrast checker → · Palette generator →

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