#F2D55B#F2D55B

#F2D55B is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.5% C 0.143 H 95.9°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#F2D55B
RGBrgb(242, 213, 91)
HSLhsl(48, 85%, 65%)
HSVhsv(48, 62%, 95%)
CMYKcmyk(0%, 12%, 62.4%, 5.1%)
CIE-LABlab(85.62, -3.67, 62.30)
CIE-LCHlch(85.62, 62.40, 93.37°)
OKLaboklab(87.48% -0.0147 0.1424)
OKLCHoklch(87.48% 0.143 95.9)
XYZxyz(62.3033, 67.2241, 19.5893)
Luminance0.6722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D55B #5B78F2
analogous
#F2895B #F2D55B #C3F25B
triadic
#F2D55B #5BF2D5 #D55BF2
tetradic
#F2D55B #5BF289 #5B78F2 #F25BC3
square
#F2D55B #5BF289 #5B78F2 #F25BC3
split-complementary
#F2D55B #5BC3F2 #895BF2
monochromatic
#C3A10F #EEC622 #F2D55B #F6E494 #FBF2CC

Accessibility & contrast

On white

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

On black

14.44
#F2D55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D55B
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D55B#FFFFFF#000000##000000
##F2D55B1.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d55b;
/* rgb */ color: rgb(242, 213, 91);
/* oklch */ color: oklch(87.5% 0.143 95.9);
Tailwind
colors: {
  custom: {
    50: '#fae18e',
    500: '#f2d55b',
    950: '#000000',
  },
}
SCSS
$custom: #f2d55b;
$custom-light: #fae18e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d55b",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 91
  },
  "hsl": {
    "h": 48.477,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87481,
    "c": 0.14312,
    "h": 95.9
  },
  "luminance": 0.67221
}

Semantic roles & 50–950 ramp

primary
#F2D55B
secondary
#314CC1
accent
#2EE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D55B

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

Preview Lab → · Contrast checker → · Palette generator →

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