#F2D657#F2D657

#F2D657 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.6% C 0.147 H 96.8°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#F2D657
RGBrgb(242, 214, 87)
HSLhsl(49, 86%, 65%)
HSVhsv(49, 64%, 95%)
CMYKcmyk(0%, 11.6%, 64%, 5.1%)
CIE-LABlab(85.84, -4.42, 64.23)
CIE-LCHlch(85.84, 64.39, 93.94°)
OKLaboklab(87.64% -0.0173 0.1459)
OKLCHoklch(87.64% 0.147 96.8)
XYZxyz(62.3876, 67.6615, 18.7888)
Luminance0.6766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D657 #5773F2
analogous
#F28957 #F2D657 #C1F257
triadic
#F2D657 #57F2D6 #D657F2
tetradic
#F2D657 #57F289 #5773F2 #F257C1
square
#F2D657 #57F289 #5773F2 #F257C1
split-complementary
#F2D657 #57C1F2 #8957F2
monochromatic
#C0A00F #EEC81E #F2D657 #F6E490 #FBF2C9

Accessibility & contrast

On white

1.45
#F2D657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#F2D657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D657
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D657#FFFFFF#000000##000000
##F2D6571.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD148
Deuteranopia (green-blind)
#F1DB5E
Tritanopia (blue-blind)
#FFC7BB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d657;
/* rgb */ color: rgb(242, 214, 87);
/* oklch */ color: oklch(87.6% 0.147 96.8);
Tailwind
colors: {
  custom: {
    50: '#fae28c',
    500: '#f2d657',
    950: '#000000',
  },
}
SCSS
$custom: #f2d657;
$custom-light: #fae28c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d657",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 87
  },
  "hsl": {
    "h": 49.161,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87644,
    "c": 0.14692,
    "h": 96.8
  },
  "luminance": 0.67658
}

Semantic roles & 50–950 ramp

primary
#F2D657
secondary
#3049BE
accent
#2CE203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D657

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

Preview Lab → · Contrast checker → · Palette generator →

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