#F2D853#F2D853

#F2D853 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 88.0% C 0.151 H 98.1°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#F2D853
RGBrgb(242, 216, 83)
HSLhsl(50, 86%, 64%)
HSVhsv(50, 66%, 95%)
CMYKcmyk(0%, 10.7%, 65.7%, 5.1%)
CIE-LABlab(86.31, -5.66, 66.39)
CIE-LCHlch(86.31, 66.63, 94.87°)
OKLaboklab(88.01% -0.0213 0.1499)
OKLCHoklch(88.01% 0.151 98.1)
XYZxyz(62.7380, 68.6165, 18.1216)
Luminance0.6861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D853 #536DF2
analogous
#F28853 #F2D853 #BCF253
triadic
#F2D853 #53F2D8 #D853F2
tetradic
#F2D853 #53F288 #536DF2 #F253BC
square
#F2D853 #53F288 #536DF2 #F253BC
split-complementary
#F2D853 #53BCF2 #8853F2
monochromatic
#BCA00E #EECB1A #F2D853 #F6E58C #FBF2C5

Accessibility & contrast

On white

1.43
#F2D853 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#F2D853 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D853
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D853#FFFFFF#000000##000000
##F2D8531.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD342
Deuteranopia (green-blind)
#F3DC5A
Tritanopia (blue-blind)
#FFC9BC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d853;
/* rgb */ color: rgb(242, 216, 83);
/* oklch */ color: oklch(88.0% 0.151 98.1);
Tailwind
colors: {
  custom: {
    50: '#fae38a',
    500: '#f2d853',
    950: '#000000',
  },
}
SCSS
$custom: #f2d853;
$custom-light: #fae38a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d853",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 83
  },
  "hsl": {
    "h": 50.189,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.88011,
    "c": 0.15136,
    "h": 98.1
  },
  "luminance": 0.68614
}

Semantic roles & 50–950 ramp

primary
#F2D853
secondary
#2E45BB
accent
#28E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D853

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

Preview Lab → · Contrast checker → · Palette generator →

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