#F2D758#F2D758

#F2D758 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.9% C 0.147 H 97.2°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#F2D758
RGBrgb(242, 215, 88)
HSLhsl(49, 86%, 65%)
HSVhsv(49, 64%, 95%)
CMYKcmyk(0%, 11.2%, 63.6%, 5.1%)
CIE-LABlab(86.10, -4.87, 64.09)
CIE-LCHlch(86.10, 64.28, 94.34°)
OKLaboklab(87.85% -0.0185 0.1458)
OKLCHoklch(87.85% 0.147 97.2)
XYZxyz(62.6826, 68.1857, 19.0901)
Luminance0.6818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D758 #5873F2
analogous
#F28A58 #F2D758 #C0F258
triadic
#F2D758 #58F2D7 #D758F2
tetradic
#F2D758 #58F28A #5873F2 #F258C0
square
#F2D758 #58F28A #5873F2 #F258C0
split-complementary
#F2D758 #58C0F2 #8A58F2
monochromatic
#C1A10F #EEC91F #F2D758 #F6E591 #FBF2CA

Accessibility & contrast

On white

1.43
#F2D758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#F2D758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D758
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D758#FFFFFF#000000##000000
##F2D7581.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD249
Deuteranopia (green-blind)
#F2DB5F
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d758;
/* rgb */ color: rgb(242, 215, 88);
/* oklch */ color: oklch(87.9% 0.147 97.2);
Tailwind
colors: {
  custom: {
    50: '#fae38c',
    500: '#f2d758',
    950: '#000000',
  },
}
SCSS
$custom: #f2d758;
$custom-light: #fae38c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d758",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 49.481,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87854,
    "c": 0.14692,
    "h": 97.2
  },
  "luminance": 0.68183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D758

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

Preview Lab → · Contrast checker → · Palette generator →

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