#F2D359#F2D359

#F2D359 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 87.1% C 0.143 H 95.0°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#F2D359
RGBrgb(242, 211, 89)
HSLhsl(48, 85%, 65%)
HSVhsv(48, 63%, 95%)
CMYKcmyk(0%, 12.8%, 63.2%, 5.1%)
CIE-LABlab(85.09, -2.77, 62.59)
CIE-LCHlch(85.09, 62.65, 92.54°)
OKLaboklab(87.06% -0.0124 0.1427)
OKLCHoklch(87.06% 0.143 95)
XYZxyz(61.7182, 66.1902, 18.9744)
Luminance0.6619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D359 #5978F2
analogous
#F28659 #F2D359 #C5F259
triadic
#F2D359 #59F2D3 #D359F2
tetradic
#F2D359 #59F286 #5978F2 #F259C5
square
#F2D359 #59F286 #5978F2 #F259C5
split-complementary
#F2D359 #59C5F2 #8659F2
monochromatic
#C19D0F #EEC420 #F2D359 #F6E292 #FBF1CB

Accessibility & contrast

On white

1.47
#F2D359 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#F2D359 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D359
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D359#FFFFFF#000000##000000
##F2D3591.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4B
Deuteranopia (green-blind)
#EFD95F
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d359;
/* rgb */ color: rgb(242, 211, 89);
/* oklch */ color: oklch(87.1% 0.143 95.0);
Tailwind
colors: {
  custom: {
    50: '#fae08d',
    500: '#f2d359',
    950: '#000000',
  },
}
SCSS
$custom: #f2d359;
$custom-light: #fae08d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d359",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 89
  },
  "hsl": {
    "h": 47.843,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87061,
    "c": 0.14323,
    "h": 95
  },
  "luminance": 0.66187
}

Semantic roles & 50–950 ramp

primary
#F2D359
secondary
#304DBF
accent
#31E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D359

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

Preview Lab → · Contrast checker → · Palette generator →

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