#F2DF85#F2DF85

#F2DF85 is a very light, moderate yellow. Relative luminance 0.733; OKLCH L 90.0% C 0.113 H 97.7°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#F2DF85
RGBrgb(242, 223, 133)
HSLhsl(50, 81%, 74%)
HSVhsv(50, 45%, 95%)
CMYKcmyk(0%, 7.9%, 45%, 5.1%)
CIE-LABlab(88.61, -5.40, 46.30)
CIE-LCHlch(88.61, 46.61, 96.65°)
OKLaboklab(90% -0.0151 0.1117)
OKLCHoklch(90% 0.113 97.7)
XYZxyz(67.2410, 73.3484, 32.8014)
Luminance0.7335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF85 #8598F2
analogous
#F2A885 #F2DF85 #CEF285
triadic
#F2DF85 #85F2DF #DF85F2
tetradic
#F2DF85 #85F2A8 #8598F2 #F285CE
square
#F2DF85 #85F2A8 #8598F2 #F285CE
split-complementary
#F2DF85 #85CEF2 #A885F2
monochromatic
#E4C118 #ECD04E #F2DF85 #F8EEBC #FCF8E3

Accessibility & contrast

On white

1.34
#F2DF85 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.67
#F2DF85 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF85
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF85#FFFFFF#000000##000000
##F2DF851.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB7E
Deuteranopia (green-blind)
#F4E189
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2df85;
/* rgb */ color: rgb(242, 223, 133);
/* oklch */ color: oklch(90.0% 0.113 97.7);
Tailwind
colors: {
  custom: {
    50: '#f8e8aa',
    500: '#f2df85',
    950: '#000000',
  },
}
SCSS
$custom: #f2df85;
$custom-light: #f8e8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df85",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 133
  },
  "hsl": {
    "h": 49.541,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.9,
    "c": 0.11268,
    "h": 97.7
  },
  "luminance": 0.73346
}

Semantic roles & 50–950 ramp

primary
#F2DF85
secondary
#4E64CE
accent
#2DDD08
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2DF85

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

Preview Lab → · Contrast checker → · Palette generator →

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