#F2E55F#F2E55F

#F2E55F is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.8% C 0.153 H 103.8°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#F2E55F
RGBrgb(242, 229, 95)
HSLhsl(55, 85%, 66%)
HSVhsv(55, 61%, 95%)
CMYKcmyk(0%, 5.4%, 60.7%, 5.1%)
CIE-LABlab(89.74, -11.44, 65.08)
CIE-LCHlch(89.74, 66.07, 99.97°)
OKLaboklab(90.76% -0.0365 0.1488)
OKLCHoklch(90.76% 0.153 103.8)
XYZxyz(66.7052, 75.7445, 21.9307)
Luminance0.7574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E55F #5F6CF2
analogous
#F29B5F #F2E55F #B5F25F
triadic
#F2E55F #5FF2E5 #E55FF2
tetradic
#F2E55F #5FF29B #5F6CF2 #F25FB5
square
#F2E55F #5FF29B #5F6CF2 #F25FB5
split-complementary
#F2E55F #5FB5F2 #9B5FF2
monochromatic
#C6B610 #EDDC26 #F2E55F #F7EE98 #FBF7D0

Accessibility & contrast

On white

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

On black

16.15
#F2E55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E55F
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E55F#FFFFFF#000000##000000
##F2E55F1.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE50
Deuteranopia (green-blind)
#FCE566
Tritanopia (blue-blind)
#FFD7C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e55f;
/* rgb */ color: rgb(242, 229, 95);
/* oklch */ color: oklch(90.8% 0.153 103.8);
Tailwind
colors: {
  custom: {
    50: '#f9ec92',
    500: '#f2e55f',
    950: '#000000',
  },
}
SCSS
$custom: #f2e55f;
$custom-light: #f9ec92;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e55f",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 95
  },
  "hsl": {
    "h": 54.694,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.90762,
    "c": 0.15322,
    "h": 103.8
  },
  "luminance": 0.75742
}

Semantic roles & 50–950 ramp

primary
#F2E55F
secondary
#323FC4
accent
#18E104
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E55F

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

Preview Lab → · Contrast checker → · Palette generator →

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