#F2D759#F2D759

#F2D759 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.9% C 0.146 H 97.2°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#F2D759
RGBrgb(242, 215, 89)
HSLhsl(49, 85%, 65%)
HSVhsv(49, 63%, 95%)
CMYKcmyk(0%, 11.2%, 63.2%, 5.1%)
CIE-LABlab(86.11, -4.80, 63.68)
CIE-LCHlch(86.11, 63.86, 94.31°)
OKLaboklab(87.86% -0.0182 0.145)
OKLCHoklch(87.86% 0.146 97.2)
XYZxyz(62.7243, 68.2024, 19.3097)
Luminance0.6820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D759 #5974F2
analogous
#F28B59 #F2D759 #C0F259
triadic
#F2D759 #59F2D7 #D759F2
tetradic
#F2D759 #59F28B #5974F2 #F259C0
square
#F2D759 #59F28B #5974F2 #F259C0
split-complementary
#F2D759 #59C0F2 #8B59F2
monochromatic
#C1A20F #EEC920 #F2D759 #F6E592 #FBF2CB

Accessibility & contrast

On white

1.43
#F2D759 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#F2D759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D759
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D759#FFFFFF#000000##000000
##F2D7591.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24A
Deuteranopia (green-blind)
#F2DB5F
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d759;
/* rgb */ color: rgb(242, 215, 89);
/* oklch */ color: oklch(87.9% 0.146 97.2);
Tailwind
colors: {
  custom: {
    50: '#fae38d',
    500: '#f2d759',
    950: '#000000',
  },
}
SCSS
$custom: #f2d759;
$custom-light: #fae38d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d759",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 89
  },
  "hsl": {
    "h": 49.412,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87863,
    "c": 0.14615,
    "h": 97.2
  },
  "luminance": 0.68199
}

Semantic roles & 50–950 ramp

primary
#F2D759
secondary
#3049BF
accent
#2BE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D759

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

Preview Lab → · Contrast checker → · Palette generator →

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