#F2D459#F2D459

#F2D459 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.3% C 0.144 H 95.5°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#F2D459
RGBrgb(242, 212, 89)
HSLhsl(48, 85%, 65%)
HSVhsv(48, 63%, 95%)
CMYKcmyk(0%, 12.4%, 63.2%, 5.1%)
CIE-LABlab(85.35, -3.28, 62.86)
CIE-LCHlch(85.35, 62.95, 92.99°)
OKLaboklab(87.26% -0.0138 0.1433)
OKLCHoklch(87.26% 0.144 95.5)
XYZxyz(61.9674, 66.6886, 19.0574)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D459 #5977F2
analogous
#F28759 #F2D459 #C4F259
triadic
#F2D459 #59F2D4 #D459F2
tetradic
#F2D459 #59F287 #5977F2 #F259C4
square
#F2D459 #59F287 #5977F2 #F259C4
split-complementary
#F2D459 #59C4F2 #8759F2
monochromatic
#C19E0F #EEC520 #F2D459 #F6E392 #FBF1CB

Accessibility & contrast

On white

1.46
#F2D459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#F2D459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D459
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D459#FFFFFF#000000##000000
##F2D4591.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04B
Deuteranopia (green-blind)
#F0D95F
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d459;
/* rgb */ color: rgb(242, 212, 89);
/* oklch */ color: oklch(87.3% 0.144 95.5);
Tailwind
colors: {
  custom: {
    50: '#fae08d',
    500: '#f2d459',
    950: '#000000',
  },
}
SCSS
$custom: #f2d459;
$custom-light: #fae08d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d459",
  "rgb": {
    "r": 242,
    "g": 212,
    "b": 89
  },
  "hsl": {
    "h": 48.235,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87261,
    "c": 0.14394,
    "h": 95.5
  },
  "luminance": 0.66685
}

Semantic roles & 50–950 ramp

primary
#F2D459
secondary
#304CBF
accent
#2FE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D459

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

Preview Lab → · Contrast checker → · Palette generator →

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