#F3D252#F3D252

#F3D252 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.9% C 0.148 H 94.6°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#F3D252
RGBrgb(243, 210, 82)
HSLhsl(48, 87%, 64%)
HSVhsv(48, 66%, 95%)
CMYKcmyk(0%, 13.6%, 66.3%, 4.7%)
CIE-LABlab(84.87, -2.26, 65.32)
CIE-LCHlch(84.87, 65.36, 91.98°)
OKLaboklab(86.89% -0.0117 0.1474)
OKLCHoklch(86.89% 0.148 94.6)
XYZxyz(61.5347, 65.7603, 17.4328)
Luminance0.6576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3D252 #5273F3
analogous
#F38152 #F3D252 #C3F352
triadic
#F3D252 #52F3D2 #D252F3
tetradic
#F3D252 #52F381 #5273F3 #F352C3
square
#F3D252 #52F381 #5273F3 #F352C3
split-complementary
#F3D252 #52C3F3 #8152F3
monochromatic
#BD990D #EFC319 #F3D252 #F7E18B #FBF0C4

Accessibility & contrast

On white

1.48
#F3D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#F3D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3D252
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3D252#FFFFFF#000000##000000
##F3D2521.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE42
Deuteranopia (green-blind)
#EFD859
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f3d252;
/* rgb */ color: rgb(243, 210, 82);
/* oklch */ color: oklch(86.9% 0.148 94.6);
Tailwind
colors: {
  custom: {
    50: '#fbdf89',
    500: '#f3d252',
    950: '#000000',
  },
}
SCSS
$custom: #f3d252;
$custom-light: #fbdf89;
$custom-dark: #000000;
JSON
{
  "hex": "#f3d252",
  "rgb": {
    "r": 243,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 47.702,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8689,
    "c": 0.14787,
    "h": 94.6
  },
  "luminance": 0.65757
}

Semantic roles & 50–950 ramp

primary
#F3D252
secondary
#2E4BBC
accent
#30E402
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F3D252

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

Preview Lab → · Contrast checker → · Palette generator →

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