#F2D259#F2D259

#F2D259 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.9% C 0.143 H 94.4°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#F2D259
RGBrgb(242, 210, 89)
HSLhsl(47, 85%, 65%)
HSVhsv(47, 63%, 95%)
CMYKcmyk(0%, 13.2%, 63.2%, 5.1%)
CIE-LABlab(84.84, -2.26, 62.31)
CIE-LCHlch(84.84, 62.35, 92.08°)
OKLaboklab(86.86% -0.0109 0.1421)
OKLCHoklch(86.86% 0.143 94.4)
XYZxyz(61.4706, 65.6948, 18.8918)
Luminance0.6569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D259 #5979F2
analogous
#F28659 #F2D259 #C6F259
triadic
#F2D259 #59F2D2 #D259F2
tetradic
#F2D259 #59F286 #5979F2 #F259C6
square
#F2D259 #59F286 #5979F2 #F259C6
split-complementary
#F2D259 #59C6F2 #8659F2
monochromatic
#C19C0F #EEC320 #F2D259 #F6E192 #FBF1CB

Accessibility & contrast

On white

1.49
#F2D259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#F2D259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D259
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D259#FFFFFF#000000##000000
##F2D2591.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4B
Deuteranopia (green-blind)
#EED85F
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d259;
/* rgb */ color: rgb(242, 210, 89);
/* oklch */ color: oklch(86.9% 0.143 94.4);
Tailwind
colors: {
  custom: {
    50: '#fadf8d',
    500: '#f2d259',
    950: '#000000',
  },
}
SCSS
$custom: #f2d259;
$custom-light: #fadf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d259",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 89
  },
  "hsl": {
    "h": 47.451,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86861,
    "c": 0.14253,
    "h": 94.4
  },
  "luminance": 0.65692
}

Semantic roles & 50–950 ramp

primary
#F2D259
secondary
#304EBF
accent
#32E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D259

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

Preview Lab → · Contrast checker → · Palette generator →

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