#F2D85D#F2D85D

#F2D85D is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 88.1% C 0.144 H 97.4°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#F2D85D
RGBrgb(242, 216, 93)
HSLhsl(50, 85%, 66%)
HSVhsv(50, 62%, 95%)
CMYKcmyk(0%, 10.7%, 61.6%, 5.1%)
CIE-LABlab(86.40, -5.06, 62.28)
CIE-LCHlch(86.40, 62.49, 94.65°)
OKLaboklab(88.1% -0.0185 0.1426)
OKLCHoklch(88.1% 0.144 97.4)
XYZxyz(63.1523, 68.7822, 20.3036)
Luminance0.6878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D85D #5D77F2
analogous
#F28D5D #F2D85D #C2F25D
triadic
#F2D85D #5DF2D8 #D85DF2
tetradic
#F2D85D #5DF28D #5D77F2 #F25DC2
square
#F2D85D #5DF28D #5D77F2 #F25DC2
split-complementary
#F2D85D #5DC2F2 #8D5DF2
monochromatic
#C5A510 #EDCA24 #F2D85D #F7E696 #FBF3CE

Accessibility & contrast

On white

1.42
#F2D85D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#F2D85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D85D
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D85D#FFFFFF#000000##000000
##F2D85D1.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34F
Deuteranopia (green-blind)
#F3DC63
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d85d;
/* rgb */ color: rgb(242, 216, 93);
/* oklch */ color: oklch(88.1% 0.144 97.4);
Tailwind
colors: {
  custom: {
    50: '#fae390',
    500: '#f2d85d',
    950: '#000000',
  },
}
SCSS
$custom: #f2d85d;
$custom-light: #fae390;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d85d",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 93
  },
  "hsl": {
    "h": 49.53,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.88103,
    "c": 0.14379,
    "h": 97.4
  },
  "luminance": 0.68779
}

Semantic roles & 50–950 ramp

primary
#F2D85D
secondary
#314AC2
accent
#2BE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D85D

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

Preview Lab → · Contrast checker → · Palette generator →

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