#F2DF5D#F2DF5D

#F2DF5D is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.5% C 0.149 H 101.0°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#F2DF5D
RGBrgb(242, 223, 93)
HSLhsl(52, 85%, 66%)
HSVhsv(52, 62%, 95%)
CMYKcmyk(0%, 7.9%, 61.6%, 5.1%)
CIE-LABlab(88.18, -8.58, 64.23)
CIE-LCHlch(88.18, 64.80, 97.61°)
OKLaboklab(89.52% -0.0286 0.1467)
OKLCHoklch(89.52% 0.149 101)
XYZxyz(64.9840, 72.4456, 20.9142)
Luminance0.7244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF5D #5D70F2
analogous
#F2945D #F2DF5D #BAF25D
triadic
#F2DF5D #5DF2DF #DF5DF2
tetradic
#F2DF5D #5DF294 #5D70F2 #F25DBA
square
#F2DF5D #5DF294 #5D70F2 #F25DBA
split-complementary
#F2DF5D #5DBAF2 #945DF2
monochromatic
#C5AE10 #EDD424 #F2DF5D #F7EA96 #FBF5CE

Accessibility & contrast

On white

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

On black

15.49
#F2DF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF5D
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF5D#FFFFFF#000000##000000
##F2DF5D1.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D94E
Deuteranopia (green-blind)
#F8E164
Tritanopia (blue-blind)
#FFD0C3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2df5d;
/* rgb */ color: rgb(242, 223, 93);
/* oklch */ color: oklch(89.5% 0.149 101.0);
Tailwind
colors: {
  custom: {
    50: '#fae890',
    500: '#f2df5d',
    950: '#000000',
  },
}
SCSS
$custom: #f2df5d;
$custom-light: #fae890;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df5d",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 93
  },
  "hsl": {
    "h": 52.349,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.89519,
    "c": 0.14949,
    "h": 101
  },
  "luminance": 0.72443
}

Semantic roles & 50–950 ramp

primary
#F2DF5D
secondary
#3144C2
accent
#20E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2DF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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