#F2D55F#F2D55F

#F2D55F is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.5% C 0.140 H 95.5°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#F2D55F
RGBrgb(242, 213, 95)
HSLhsl(48, 85%, 66%)
HSVhsv(48, 61%, 95%)
CMYKcmyk(0%, 12%, 60.7%, 5.1%)
CIE-LABlab(85.65, -3.41, 60.59)
CIE-LCHlch(85.65, 60.69, 93.22°)
OKLaboklab(87.52% -0.0135 0.1393)
OKLCHoklch(87.52% 0.14 95.5)
XYZxyz(62.4805, 67.2950, 20.5224)
Luminance0.6729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D55F #5F7CF2
analogous
#F28B5F #F2D55F #C5F25F
triadic
#F2D55F #5FF2D5 #D55FF2
tetradic
#F2D55F #5FF28B #5F7CF2 #F25FC5
square
#F2D55F #5FF28B #5F7CF2 #F25FC5
split-complementary
#F2D55F #5FC5F2 #8B5FF2
monochromatic
#C6A210 #EDC626 #F2D55F #F7E498 #FBF3D0

Accessibility & contrast

On white

1.45
#F2D55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#F2D55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D55F
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D55F#FFFFFF#000000##000000
##F2D55F1.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D152
Deuteranopia (green-blind)
#F0DA65
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d55f;
/* rgb */ color: rgb(242, 213, 95);
/* oklch */ color: oklch(87.5% 0.140 95.5);
Tailwind
colors: {
  custom: {
    50: '#fae191',
    500: '#f2d55f',
    950: '#000000',
  },
}
SCSS
$custom: #f2d55f;
$custom-light: #fae191;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d55f",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 48.163,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.8752,
    "c": 0.13992,
    "h": 95.5
  },
  "luminance": 0.67292
}

Semantic roles & 50–950 ramp

primary
#F2D55F
secondary
#324EC4
accent
#30E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D55F

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

Preview Lab → · Contrast checker → · Palette generator →

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