#F2D55E#F2D55E

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

Color values

HEX#F2D55E
RGBrgb(242, 213, 94)
HSLhsl(48, 85%, 66%)
HSVhsv(48, 61%, 95%)
CMYKcmyk(0%, 12%, 61.2%, 5.1%)
CIE-LABlab(85.64, -3.47, 61.02)
CIE-LCHlch(85.64, 61.12, 93.26°)
OKLaboklab(87.51% -0.0138 0.1401)
OKLCHoklch(87.51% 0.141 95.6)
XYZxyz(62.4353, 67.2769, 20.2846)
Luminance0.6727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D55E #5E7BF2
analogous
#F28B5E #F2D55E #C5F25E
triadic
#F2D55E #5EF2D5 #D55EF2
tetradic
#F2D55E #5EF28B #5E7BF2 #F25EC5
square
#F2D55E #5EF28B #5E7BF2 #F25EC5
split-complementary
#F2D55E #5EC5F2 #8B5EF2
monochromatic
#C6A210 #EDC625 #F2D55E #F7E497 #FBF3CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D55E#FFFFFF#000000##000000
##F2D55E1.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)
#E9D151
Deuteranopia (green-blind)
#F0DA64
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d55e;
/* rgb */ color: rgb(242, 213, 94);
/* oklch */ color: oklch(87.5% 0.141 95.6);
Tailwind
colors: {
  custom: {
    50: '#fae190',
    500: '#f2d55e',
    950: '#000000',
  },
}
SCSS
$custom: #f2d55e;
$custom-light: #fae190;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d55e",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 94
  },
  "hsl": {
    "h": 48.243,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8751,
    "c": 0.14073,
    "h": 95.6
  },
  "luminance": 0.67274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D55E

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

Preview Lab → · Contrast checker → · Palette generator →

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