#F2D45A#F2D45A

#F2D45A is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.3% C 0.143 H 95.4°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#F2D45A
RGBrgb(242, 212, 90)
HSLhsl(48, 85%, 65%)
HSVhsv(48, 63%, 95%)
CMYKcmyk(0%, 12.4%, 62.8%, 5.1%)
CIE-LABlab(85.36, -3.22, 62.44)
CIE-LCHlch(85.36, 62.52, 92.95°)
OKLaboklab(87.27% -0.0135 0.1425)
OKLCHoklch(87.27% 0.143 95.4)
XYZxyz(62.0097, 66.7055, 19.2801)
Luminance0.6670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D45A #5A78F2
analogous
#F2885A #F2D45A #C4F25A
triadic
#F2D45A #5AF2D4 #D45AF2
tetradic
#F2D45A #5AF288 #5A78F2 #F25AC4
square
#F2D45A #5AF288 #5A78F2 #F25AC4
split-complementary
#F2D45A #5AC4F2 #885AF2
monochromatic
#C29F0F #EEC521 #F2D45A #F6E393 #FBF2CB

Accessibility & contrast

On white

1.46
#F2D45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#F2D45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D45A
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D45A#FFFFFF#000000##000000
##F2D45A1.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04C
Deuteranopia (green-blind)
#F0D960
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d45a;
/* rgb */ color: rgb(242, 212, 90);
/* oklch */ color: oklch(87.3% 0.143 95.4);
Tailwind
colors: {
  custom: {
    50: '#fae08d',
    500: '#f2d45a',
    950: '#000000',
  },
}
SCSS
$custom: #f2d45a;
$custom-light: #fae08d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d45a",
  "rgb": {
    "r": 242,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 48.158,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.87271,
    "c": 0.14316,
    "h": 95.4
  },
  "luminance": 0.66702
}

Semantic roles & 50–950 ramp

primary
#F2D45A
secondary
#304DC0
accent
#2FE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D45A

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

Preview Lab → · Contrast checker → · Palette generator →

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