#F2D985#F2D985

#F2D985 is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.108 H 93.4°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#F2D985
RGBrgb(242, 217, 133)
HSLhsl(46, 81%, 74%)
HSVhsv(46, 45%, 95%)
CMYKcmyk(0%, 10.3%, 45%, 5.1%)
CIE-LABlab(87.09, -2.36, 44.40)
CIE-LCHlch(87.09, 44.46, 93.04°)
OKLaboklab(88.8% -0.0063 0.1074)
OKLCHoklch(88.8% 0.108 93.4)
XYZxyz(65.6663, 70.1990, 32.2765)
Luminance0.7020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D985 #859EF2
analogous
#F2A285 #F2D985 #D4F285
triadic
#F2D985 #85F2D9 #D985F2
tetradic
#F2D985 #85F2A2 #859EF2 #F285D4
square
#F2D985 #85F2A2 #859EF2 #F285D4
split-complementary
#F2D985 #85D4F2 #A285F2
monochromatic
#E4B518 #ECC84E #F2D985 #F8EABC #FCF6E3

Accessibility & contrast

On white

1.40
#F2D985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#F2D985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D985
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D985#FFFFFF#000000##000000
##F2D9851.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D67E
Deuteranopia (green-blind)
#F0DD88
Tritanopia (blue-blind)
#FFCDC5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2d985;
/* rgb */ color: rgb(242, 217, 133);
/* oklch */ color: oklch(88.8% 0.108 93.4);
Tailwind
colors: {
  custom: {
    50: '#f8e4aa',
    500: '#f2d985',
    950: '#000000',
  },
}
SCSS
$custom: #f2d985;
$custom-light: #f8e4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d985",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 46.239,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.88799,
    "c": 0.10758,
    "h": 93.4
  },
  "luminance": 0.70196
}

Semantic roles & 50–950 ramp

primary
#F2D985
secondary
#4E6BCE
accent
#39DD08
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F2D985

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

Preview Lab → · Contrast checker → · Palette generator →

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