#F2DF55#F2DF55

#F2DF55 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.4% C 0.156 H 101.4°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#F2DF55
RGBrgb(242, 223, 85)
HSLhsl(53, 86%, 64%)
HSVhsv(53, 65%, 95%)
CMYKcmyk(0%, 7.9%, 64.9%, 5.1%)
CIE-LABlab(88.12, -9.07, 67.47)
CIE-LCHlch(88.12, 68.08, 97.65°)
OKLaboklab(89.45% -0.0308 0.1524)
OKLCHoklch(89.45% 0.156 101.4)
XYZxyz(64.6480, 72.3112, 19.1447)
Luminance0.7231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF55 #5568F2
analogous
#F29155 #F2DF55 #B7F255
triadic
#F2DF55 #55F2DF #DF55F2
tetradic
#F2DF55 #55F291 #5568F2 #F255B7
square
#F2DF55 #55F291 #5568F2 #F255B7
split-complementary
#F2DF55 #55B7F2 #9155F2
monochromatic
#BEA90F #EED41C #F2DF55 #F6EA8E #FBF4C7

Accessibility & contrast

On white

1.36
#F2DF55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#F2DF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF55
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF55#FFFFFF#000000##000000
##F2DF551.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D943
Deuteranopia (green-blind)
#F8E15D
Tritanopia (blue-blind)
#FFD0C2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2df55;
/* rgb */ color: rgb(242, 223, 85);
/* oklch */ color: oklch(89.4% 0.156 101.4);
Tailwind
colors: {
  custom: {
    50: '#fae88b',
    500: '#f2df55',
    950: '#000000',
  },
}
SCSS
$custom: #f2df55;
$custom-light: #fae88b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df55",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 85
  },
  "hsl": {
    "h": 52.739,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89447,
    "c": 0.15552,
    "h": 101.4
  },
  "luminance": 0.72308
}

Semantic roles & 50–950 ramp

primary
#F2DF55
secondary
#2F40BC
accent
#1EE203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F2DF55

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

Preview Lab → · Contrast checker → · Palette generator →

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