#F2D357#F2D357

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

Color values

HEX#F2D357
RGBrgb(242, 211, 87)
HSLhsl(48, 86%, 65%)
HSVhsv(48, 64%, 95%)
CMYKcmyk(0%, 12.8%, 64%, 5.1%)
CIE-LABlab(85.08, -2.89, 63.42)
CIE-LCHlch(85.08, 63.49, 92.61°)
OKLaboklab(87.04% -0.0129 0.1442)
OKLCHoklch(87.04% 0.145 95.1)
XYZxyz(61.6354, 66.1570, 18.5380)
Luminance0.6615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D357 #5776F2
analogous
#F28657 #F2D357 #C4F257
triadic
#F2D357 #57F2D3 #D357F2
tetradic
#F2D357 #57F286 #5776F2 #F257C4
square
#F2D357 #57F286 #5776F2 #F257C4
split-complementary
#F2D357 #57C4F2 #8657F2
monochromatic
#C09C0F #EEC41E #F2D357 #F6E290 #FBF1C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D357#FFFFFF#000000##000000
##F2D3571.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)
#E7CF48
Deuteranopia (green-blind)
#EFD95D
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d357;
/* rgb */ color: rgb(242, 211, 87);
/* oklch */ color: oklch(87.0% 0.145 95.1);
Tailwind
colors: {
  custom: {
    50: '#fae08c',
    500: '#f2d357',
    950: '#000000',
  },
}
SCSS
$custom: #f2d357;
$custom-light: #fae08c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d357",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 87
  },
  "hsl": {
    "h": 48,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87042,
    "c": 0.14475,
    "h": 95.1
  },
  "luminance": 0.66154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D357

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

Preview Lab → · Contrast checker → · Palette generator →

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