#F2D858#F2D858

#F2D858 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.148 H 97.8°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#F2D858
RGBrgb(242, 216, 88)
HSLhsl(50, 86%, 65%)
HSVhsv(50, 64%, 95%)
CMYKcmyk(0%, 10.7%, 63.6%, 5.1%)
CIE-LABlab(86.35, -5.37, 64.37)
CIE-LCHlch(86.35, 64.59, 94.77°)
OKLaboklab(88.06% -0.0199 0.1463)
OKLCHoklch(88.06% 0.148 97.8)
XYZxyz(62.9380, 68.6965, 19.1752)
Luminance0.6869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D858 #5872F2
analogous
#F28B58 #F2D858 #BFF258
triadic
#F2D858 #58F2D8 #D858F2
tetradic
#F2D858 #58F28B #5872F2 #F258BF
square
#F2D858 #58F28B #5872F2 #F258BF
split-complementary
#F2D858 #58BFF2 #8B58F2
monochromatic
#C1A30F #EECB1F #F2D858 #F6E591 #FBF3CA

Accessibility & contrast

On white

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

On black

14.74
#F2D858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D858
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D858#FFFFFF#000000##000000
##F2D8581.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD349
Deuteranopia (green-blind)
#F3DC5F
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d858;
/* rgb */ color: rgb(242, 216, 88);
/* oklch */ color: oklch(88.1% 0.148 97.8);
Tailwind
colors: {
  custom: {
    50: '#fae38c',
    500: '#f2d858',
    950: '#000000',
  },
}
SCSS
$custom: #f2d858;
$custom-light: #fae38c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d858",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 88
  },
  "hsl": {
    "h": 49.87,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.88056,
    "c": 0.14767,
    "h": 97.8
  },
  "luminance": 0.68694
}

Semantic roles & 50–950 ramp

primary
#F2D858
secondary
#3048BE
accent
#29E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D858

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

Preview Lab → · Contrast checker → · Palette generator →

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