#F2D658#F2D658

#F2D658 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.7% C 0.146 H 96.7°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#F2D658
RGBrgb(242, 214, 88)
HSLhsl(49, 86%, 65%)
HSVhsv(49, 64%, 95%)
CMYKcmyk(0%, 11.6%, 63.6%, 5.1%)
CIE-LABlab(85.85, -4.36, 63.82)
CIE-LCHlch(85.85, 63.97, 93.91°)
OKLaboklab(87.65% -0.017 0.1452)
OKLCHoklch(87.65% 0.146 96.7)
XYZxyz(62.4288, 67.6780, 19.0055)
Luminance0.6767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D658 #5874F2
analogous
#F28958 #F2D658 #C1F258
triadic
#F2D658 #58F2D6 #D658F2
tetradic
#F2D658 #58F289 #5874F2 #F258C1
square
#F2D658 #58F289 #5874F2 #F258C1
split-complementary
#F2D658 #58C1F2 #8958F2
monochromatic
#C1A00F #EEC81F #F2D658 #F6E491 #FBF2CA

Accessibility & contrast

On white

1.44
#F2D658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#F2D658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D658
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D658#FFFFFF#000000##000000
##F2D6581.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d658;
/* rgb */ color: rgb(242, 214, 88);
/* oklch */ color: oklch(87.7% 0.146 96.7);
Tailwind
colors: {
  custom: {
    50: '#fae28c',
    500: '#f2d658',
    950: '#000000',
  },
}
SCSS
$custom: #f2d658;
$custom-light: #fae28c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d658",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 88
  },
  "hsl": {
    "h": 49.091,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87653,
    "c": 0.14617,
    "h": 96.7
  },
  "luminance": 0.67675
}

Semantic roles & 50–950 ramp

primary
#F2D658
secondary
#304ABE
accent
#2CE203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D658

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

Preview Lab → · Contrast checker → · Palette generator →

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