#F2D358#F2D358

#F2D358 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 87.1% C 0.144 H 95.0°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#F2D358
RGBrgb(242, 211, 88)
HSLhsl(48, 86%, 65%)
HSVhsv(48, 64%, 95%)
CMYKcmyk(0%, 12.8%, 63.6%, 5.1%)
CIE-LABlab(85.08, -2.83, 63.01)
CIE-LCHlch(85.08, 63.07, 92.58°)
OKLaboklab(87.05% -0.0127 0.1434)
OKLCHoklch(87.05% 0.144 95)
XYZxyz(61.6765, 66.1735, 18.7547)
Luminance0.6617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D358 #5877F2
analogous
#F28658 #F2D358 #C4F258
triadic
#F2D358 #58F2D3 #D358F2
tetradic
#F2D358 #58F286 #5877F2 #F258C4
square
#F2D358 #58F286 #5877F2 #F258C4
split-complementary
#F2D358 #58C4F2 #8658F2
monochromatic
#C19D0F #EEC41F #F2D358 #F6E291 #FBF1CA

Accessibility & contrast

On white

1.48
#F2D358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#F2D358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D358
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D358#FFFFFF#000000##000000
##F2D3581.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4A
Deuteranopia (green-blind)
#EFD95E
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d358;
/* rgb */ color: rgb(242, 211, 88);
/* oklch */ color: oklch(87.1% 0.144 95.0);
Tailwind
colors: {
  custom: {
    50: '#fae08c',
    500: '#f2d358',
    950: '#000000',
  },
}
SCSS
$custom: #f2d358;
$custom-light: #fae08c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d358",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 88
  },
  "hsl": {
    "h": 47.922,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87051,
    "c": 0.144,
    "h": 95
  },
  "luminance": 0.6617
}

Semantic roles & 50–950 ramp

primary
#F2D358
secondary
#304CBE
accent
#30E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D358

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

Preview Lab → · Contrast checker → · Palette generator →

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