#F2D154#F2D154

#F2D154 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.6% C 0.146 H 94.3°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#F2D154
RGBrgb(242, 209, 84)
HSLhsl(47, 86%, 64%)
HSVhsv(47, 65%, 95%)
CMYKcmyk(0%, 13.6%, 65.3%, 5.1%)
CIE-LABlab(84.55, -2.05, 64.12)
CIE-LCHlch(84.55, 64.15, 91.83°)
OKLaboklab(86.62% -0.0109 0.1452)
OKLCHoklch(86.62% 0.146 94.3)
XYZxyz(61.0216, 65.1215, 17.7413)
Luminance0.6512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D154 #5475F2
analogous
#F28254 #F2D154 #C4F254
triadic
#F2D154 #54F2D1 #D154F2
tetradic
#F2D154 #54F282 #5475F2 #F254C4
square
#F2D154 #54F282 #5475F2 #F254C4
split-complementary
#F2D154 #54C4F2 #8254F2
monochromatic
#BD990E #EEC21B #F2D154 #F6E08D #FBF0C6

Accessibility & contrast

On white

1.50
#F2D154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#F2D154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D154
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D154#FFFFFF#000000##000000
##F2D1541.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD45
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f2d154;
/* rgb */ color: rgb(242, 209, 84);
/* oklch */ color: oklch(86.6% 0.146 94.3);
Tailwind
colors: {
  custom: {
    50: '#fade8a',
    500: '#f2d154',
    950: '#000000',
  },
}
SCSS
$custom: #f2d154;
$custom-light: #fade8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d154",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 47.468,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86615,
    "c": 0.14561,
    "h": 94.3
  },
  "luminance": 0.65118
}

Semantic roles & 50–950 ramp

primary
#F2D154
secondary
#2F4CBB
accent
#32E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D154

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

Preview Lab → · Contrast checker → · Palette generator →

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