#F2DD5E#F2DD5E

#F2DD5E is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 89.1% C 0.147 H 99.9°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#F2DD5E
RGBrgb(242, 221, 94)
HSLhsl(51, 85%, 66%)
HSVhsv(51, 61%, 95%)
CMYKcmyk(0%, 8.7%, 61.2%, 5.1%)
CIE-LABlab(87.68, -7.52, 63.26)
CIE-LCHlch(87.68, 63.70, 96.78°)
OKLaboklab(89.12% -0.0254 0.1448)
OKLCHoklch(89.12% 0.147 99.9)
XYZxyz(64.4974, 71.4010, 20.9719)
Luminance0.7140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD5E #5E73F2
analogous
#F2935E #F2DD5E #BDF25E
triadic
#F2DD5E #5EF2DD #DD5EF2
tetradic
#F2DD5E #5EF293 #5E73F2 #F25EBD
square
#F2DD5E #5EF293 #5E73F2 #F25EBD
split-complementary
#F2DD5E #5EBDF2 #935EF2
monochromatic
#C6AC10 #EDD125 #F2DD5E #F7E997 #FBF5CF

Accessibility & contrast

On white

1.37
#F2DD5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.28
#F2DD5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD5E
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD5E#FFFFFF#000000##000000
##F2DD5E1.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D750
Deuteranopia (green-blind)
#F6DF65
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dd5e;
/* rgb */ color: rgb(242, 221, 94);
/* oklch */ color: oklch(89.1% 0.147 99.9);
Tailwind
colors: {
  custom: {
    50: '#fae790',
    500: '#f2dd5e',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd5e;
$custom-light: #fae790;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd5e",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 94
  },
  "hsl": {
    "h": 51.486,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.89123,
    "c": 0.14702,
    "h": 99.9
  },
  "luminance": 0.71398
}

Semantic roles & 50–950 ramp

primary
#F2DD5E
secondary
#3146C3
accent
#23E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2DD5E

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

Preview Lab → · Contrast checker → · Palette generator →

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