#F2D054#F2D054

#F2D054 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.4% C 0.145 H 93.7°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#F2D054
RGBrgb(242, 208, 84)
HSLhsl(47, 86%, 64%)
HSVhsv(47, 65%, 95%)
CMYKcmyk(0%, 14%, 65.3%, 5.1%)
CIE-LABlab(84.29, -1.54, 63.85)
CIE-LCHlch(84.29, 63.87, 91.38°)
OKLaboklab(86.42% -0.0094 0.1446)
OKLCHoklch(86.42% 0.145 93.7)
XYZxyz(60.7770, 64.6323, 17.6598)
Luminance0.6463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D054 #5476F2
analogous
#F28154 #F2D054 #C5F254
triadic
#F2D054 #54F2D0 #D054F2
tetradic
#F2D054 #54F281 #5476F2 #F254C5
square
#F2D054 #54F281 #5476F2 #F254C5
split-complementary
#F2D054 #54C5F2 #8154F2
monochromatic
#BD980E #EEC01B #F2D054 #F6E08D #FBEFC6

Accessibility & contrast

On white

1.51
#F2D054 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#F2D054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D054
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D054#FFFFFF#000000##000000
##F2D0541.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC45
Deuteranopia (green-blind)
#EDD75A
Tritanopia (blue-blind)
#FFC1B6
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f2d054;
/* rgb */ color: rgb(242, 208, 84);
/* oklch */ color: oklch(86.4% 0.145 93.7);
Tailwind
colors: {
  custom: {
    50: '#fade8a',
    500: '#f2d054',
    950: '#000000',
  },
}
SCSS
$custom: #f2d054;
$custom-light: #fade8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d054",
  "rgb": {
    "r": 242,
    "g": 208,
    "b": 84
  },
  "hsl": {
    "h": 47.089,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86416,
    "c": 0.14494,
    "h": 93.7
  },
  "luminance": 0.64629
}

Semantic roles & 50–950 ramp

primary
#F2D054
secondary
#2F4DBB
accent
#33E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D054

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

Preview Lab → · Contrast checker → · Palette generator →

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