#F2DD85#F2DD85

#F2DD85 is a very light, moderate yellow. Relative luminance 0.723; OKLCH L 89.6% C 0.111 H 96.3°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#F2DD85
RGBrgb(242, 221, 133)
HSLhsl(48, 81%, 74%)
HSVhsv(48, 45%, 95%)
CMYKcmyk(0%, 8.7%, 45%, 5.1%)
CIE-LABlab(88.11, -4.39, 45.66)
CIE-LCHlch(88.11, 45.87, 95.49°)
OKLaboklab(89.6% -0.0122 0.1102)
OKLCHoklch(89.6% 0.111 96.3)
XYZxyz(66.7099, 72.2860, 32.6244)
Luminance0.7228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD85 #859AF2
analogous
#F2A685 #F2DD85 #D1F285
triadic
#F2DD85 #85F2DD #DD85F2
tetradic
#F2DD85 #85F2A6 #859AF2 #F285D1
square
#F2DD85 #85F2A6 #859AF2 #F285D1
split-complementary
#F2DD85 #85D1F2 #A685F2
monochromatic
#E4BD18 #ECCE4E #F2DD85 #F8ECBC #FCF7E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2DD85#FFFFFF#000000##000000
##F2DD851.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)
#EDD97E
Deuteranopia (green-blind)
#F3E088
Tritanopia (blue-blind)
#FFD1C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2dd85;
/* rgb */ color: rgb(242, 221, 133);
/* oklch */ color: oklch(89.6% 0.111 96.3);
Tailwind
colors: {
  custom: {
    50: '#f8e7aa',
    500: '#f2dd85',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd85;
$custom-light: #f8e7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd85",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 133
  },
  "hsl": {
    "h": 48.44,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.89598,
    "c": 0.11092,
    "h": 96.3
  },
  "luminance": 0.72284
}

Semantic roles & 50–950 ramp

primary
#F2DD85
secondary
#4E66CE
accent
#31DD08
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2DD85

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

Preview Lab → · Contrast checker → · Palette generator →

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