#F2E55D#F2E55D

#F2E55D is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.7% C 0.155 H 103.9°. Best body text is #000000 at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#F2E55D
RGBrgb(242, 229, 93)
HSLhsl(55, 85%, 66%)
HSVhsv(55, 62%, 95%)
CMYKcmyk(0%, 5.4%, 61.6%, 5.1%)
CIE-LABlab(89.72, -11.57, 65.89)
CIE-LCHlch(89.72, 66.90, 99.96°)
OKLaboklab(90.74% -0.0371 0.1503)
OKLCHoklch(90.74% 0.155 103.9)
XYZxyz(66.6155, 75.7086, 21.4580)
Luminance0.7571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E55D #5D6AF2
analogous
#F29A5D #F2E55D #B4F25D
triadic
#F2E55D #5DF2E5 #E55DF2
tetradic
#F2E55D #5DF29A #5D6AF2 #F25DB4
square
#F2E55D #5DF29A #5D6AF2 #F25DB4
split-complementary
#F2E55D #5DB4F2 #9A5DF2
monochromatic
#C5B510 #EDDC24 #F2E55D #F7EE96 #FBF7CE

Accessibility & contrast

On white

1.30
#F2E55D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.14
#F2E55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E55D
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E55D#FFFFFF#000000##000000
##F2E55D1.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE4D
Deuteranopia (green-blind)
#FCE565
Tritanopia (blue-blind)
#FFD6C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e55d;
/* rgb */ color: rgb(242, 229, 93);
/* oklch */ color: oklch(90.7% 0.155 103.9);
Tailwind
colors: {
  custom: {
    50: '#faec90',
    500: '#f2e55d',
    950: '#000000',
  },
}
SCSS
$custom: #f2e55d;
$custom-light: #faec90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e55d",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 93
  },
  "hsl": {
    "h": 54.765,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.90743,
    "c": 0.15477,
    "h": 103.9
  },
  "luminance": 0.75706
}

Semantic roles & 50–950 ramp

primary
#F2E55D
secondary
#313EC2
accent
#17E204
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E55D

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

Preview Lab → · Contrast checker → · Palette generator →

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