#F2D55D#F2D55D

#F2D55D is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.5% C 0.142 H 95.7°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#F2D55D
RGBrgb(242, 213, 93)
HSLhsl(48, 85%, 66%)
HSVhsv(48, 62%, 95%)
CMYKcmyk(0%, 12%, 61.6%, 5.1%)
CIE-LABlab(85.63, -3.54, 61.45)
CIE-LCHlch(85.63, 61.55, 93.30°)
OKLaboklab(87.5% -0.0141 0.1408)
OKLCHoklch(87.5% 0.142 95.7)
XYZxyz(62.3907, 67.2591, 20.0498)
Luminance0.6726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D55D #5D7AF2
analogous
#F28A5D #F2D55D #C4F25D
triadic
#F2D55D #5DF2D5 #D55DF2
tetradic
#F2D55D #5DF28A #5D7AF2 #F25DC4
square
#F2D55D #5DF28A #5D7AF2 #F25DC4
split-complementary
#F2D55D #5DC4F2 #8A5DF2
monochromatic
#C5A210 #EDC624 #F2D55D #F7E496 #FBF2CE

Accessibility & contrast

On white

1.45
#F2D55D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#F2D55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D55D
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D55D#FFFFFF#000000##000000
##F2D55D1.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D150
Deuteranopia (green-blind)
#F0DA63
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d55d;
/* rgb */ color: rgb(242, 213, 93);
/* oklch */ color: oklch(87.5% 0.142 95.7);
Tailwind
colors: {
  custom: {
    50: '#fae18f',
    500: '#f2d55d',
    950: '#000000',
  },
}
SCSS
$custom: #f2d55d;
$custom-light: #fae18f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d55d",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 93
  },
  "hsl": {
    "h": 48.322,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.875,
    "c": 0.14153,
    "h": 95.7
  },
  "luminance": 0.67256
}

Semantic roles & 50–950 ramp

primary
#F2D55D
secondary
#314DC2
accent
#2FE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D55D

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

Preview Lab → · Contrast checker → · Palette generator →

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