#F2D253#F2D253

#F2D253 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.8% C 0.147 H 94.9°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#F2D253
RGBrgb(242, 210, 83)
HSLhsl(48, 86%, 64%)
HSVhsv(48, 66%, 95%)
CMYKcmyk(0%, 13.2%, 65.7%, 5.1%)
CIE-LABlab(84.79, -2.62, 64.79)
CIE-LCHlch(84.79, 64.85, 92.31°)
OKLaboklab(86.81% -0.0126 0.1465)
OKLCHoklch(86.81% 0.147 94.9)
XYZxyz(61.2288, 65.5981, 17.6186)
Luminance0.6560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D253 #5373F2
analogous
#F28253 #F2D253 #C2F253
triadic
#F2D253 #53F2D2 #D253F2
tetradic
#F2D253 #53F282 #5373F2 #F253C2
square
#F2D253 #53F282 #5373F2 #F253C2
split-complementary
#F2D253 #53C2F2 #8253F2
monochromatic
#BC990E #EEC31A #F2D253 #F6E18C #FBF0C5

Accessibility & contrast

On white

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

On black

14.12
#F2D253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D253
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D253#FFFFFF#000000##000000
##F2D2531.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d253;
/* rgb */ color: rgb(242, 210, 83);
/* oklch */ color: oklch(86.8% 0.147 94.9);
Tailwind
colors: {
  custom: {
    50: '#fadf89',
    500: '#f2d253',
    950: '#000000',
  },
}
SCSS
$custom: #f2d253;
$custom-light: #fadf89;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d253",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 83
  },
  "hsl": {
    "h": 47.925,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86806,
    "c": 0.14701,
    "h": 94.9
  },
  "luminance": 0.65595
}

Semantic roles & 50–950 ramp

primary
#F2D253
secondary
#2E4BBB
accent
#30E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D253

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

Preview Lab → · Contrast checker → · Palette generator →

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