#F2D85E#F2D85E

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

Color values

HEX#F2D85E
RGBrgb(242, 216, 94)
HSLhsl(49, 85%, 66%)
HSVhsv(49, 61%, 95%)
CMYKcmyk(0%, 10.7%, 61.2%, 5.1%)
CIE-LABlab(86.40, -5.00, 61.86)
CIE-LCHlch(86.40, 62.06, 94.62°)
OKLaboklab(88.11% -0.0182 0.1418)
OKLCHoklch(88.11% 0.143 97.3)
XYZxyz(63.1969, 68.8000, 20.5384)
Luminance0.6880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D85E #5E78F2
analogous
#F28E5E #F2D85E #C2F25E
triadic
#F2D85E #5EF2D8 #D85EF2
tetradic
#F2D85E #5EF28E #5E78F2 #F25EC2
square
#F2D85E #5EF28E #5E78F2 #F25EC2
split-complementary
#F2D85E #5EC2F2 #8E5EF2
monochromatic
#C6A610 #EDCA25 #F2D85E #F7E697 #FBF3CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D85E#FFFFFF#000000##000000
##F2D85E1.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)
#ECD351
Deuteranopia (green-blind)
#F2DC64
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d85e;
/* rgb */ color: rgb(242, 216, 94);
/* oklch */ color: oklch(88.1% 0.143 97.3);
Tailwind
colors: {
  custom: {
    50: '#fae390',
    500: '#f2d85e',
    950: '#000000',
  },
}
SCSS
$custom: #f2d85e;
$custom-light: #fae390;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d85e",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 94
  },
  "hsl": {
    "h": 49.459,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.88113,
    "c": 0.143,
    "h": 97.3
  },
  "luminance": 0.68797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D85E

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

Preview Lab → · Contrast checker → · Palette generator →

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