#F2D355#F2D355

#F2D355 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.0% C 0.146 H 95.3°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#F2D355
RGBrgb(242, 211, 85)
HSLhsl(48, 86%, 64%)
HSVhsv(48, 65%, 95%)
CMYKcmyk(0%, 12.8%, 64.9%, 5.1%)
CIE-LABlab(85.06, -3.01, 64.24)
CIE-LCHlch(85.06, 64.32, 92.68°)
OKLaboklab(87.02% -0.0135 0.1456)
OKLCHoklch(87.02% 0.146 95.3)
XYZxyz(61.5548, 66.1248, 18.1137)
Luminance0.6612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D355 #5574F2
analogous
#F28555 #F2D355 #C3F255
triadic
#F2D355 #55F2D3 #D355F2
tetradic
#F2D355 #55F285 #5574F2 #F255C3
square
#F2D355 #55F285 #5574F2 #F255C3
split-complementary
#F2D355 #55C3F2 #8555F2
monochromatic
#BE9B0F #EEC41C #F2D355 #F6E28E #FBF0C7

Accessibility & contrast

On white

1.48
#F2D355 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#F2D355 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D355
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D355#FFFFFF#000000##000000
##F2D3551.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF46
Deuteranopia (green-blind)
#EFD95B
Tritanopia (blue-blind)
#FFC4B8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d355;
/* rgb */ color: rgb(242, 211, 85);
/* oklch */ color: oklch(87.0% 0.146 95.3);
Tailwind
colors: {
  custom: {
    50: '#fae08a',
    500: '#f2d355',
    950: '#000000',
  },
}
SCSS
$custom: #f2d355;
$custom-light: #fae08a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d355",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 85
  },
  "hsl": {
    "h": 48.153,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87024,
    "c": 0.14625,
    "h": 95.3
  },
  "luminance": 0.66122
}

Semantic roles & 50–950 ramp

primary
#F2D355
secondary
#2F4BBC
accent
#2FE203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D355

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

Preview Lab → · Contrast checker → · Palette generator →

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