#F3D151#F3D151

#F3D151 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.7% C 0.148 H 94.1°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#F3D151
RGBrgb(243, 209, 81)
HSLhsl(47, 87%, 64%)
HSVhsv(47, 67%, 95%)
CMYKcmyk(0%, 14%, 66.7%, 4.7%)
CIE-LABlab(84.61, -1.80, 65.46)
CIE-LCHlch(84.61, 65.48, 91.58°)
OKLaboklab(86.68% -0.0106 0.1475)
OKLCHoklch(86.68% 0.148 94.1)
XYZxyz(61.2508, 65.2530, 17.1518)
Luminance0.6525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3D151 #5173F3
analogous
#F38051 #F3D151 #C4F351
triadic
#F3D151 #51F3D1 #D151F3
tetradic
#F3D151 #51F380 #5173F3 #F351C4
square
#F3D151 #51F380 #5173F3 #F351C4
split-complementary
#F3D151 #51C4F3 #8051F3
monochromatic
#BD980D #EFC218 #F3D151 #F7E08A #FBEFC4

Accessibility & contrast

On white

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

On black

14.05
#F3D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3D151
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3D151#FFFFFF#000000##000000
##F3D1511.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD41
Deuteranopia (green-blind)
#EFD858
Tritanopia (blue-blind)
#FFC1B6
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f3d151;
/* rgb */ color: rgb(243, 209, 81);
/* oklch */ color: oklch(86.7% 0.148 94.1);
Tailwind
colors: {
  custom: {
    50: '#fbde88',
    500: '#f3d151',
    950: '#000000',
  },
}
SCSS
$custom: #f3d151;
$custom-light: #fbde88;
$custom-dark: #000000;
JSON
{
  "hex": "#f3d151",
  "rgb": {
    "r": 243,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 47.407,
    "s": 87.097,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86682,
    "c": 0.14792,
    "h": 94.1
  },
  "luminance": 0.6525
}

Semantic roles & 50–950 ramp

primary
#F3D151
secondary
#2D4BBB
accent
#31E402
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F3D151

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

Preview Lab → · Contrast checker → · Palette generator →

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