#F2D445#F2D445

#F2D445 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.1% C 0.158 H 97.0°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#F2D445
RGBrgb(242, 212, 69)
HSLhsl(50, 87%, 61%)
HSVhsv(50, 71%, 95%)
CMYKcmyk(0%, 12.4%, 71.5%, 5.1%)
CIE-LABlab(85.20, -4.35, 70.69)
CIE-LCHlch(85.20, 70.82, 93.52°)
OKLaboklab(87.1% -0.0191 0.1566)
OKLCHoklch(87.1% 0.158 97)
XYZxyz(61.2387, 66.3971, 15.2194)
Luminance0.6639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D445 #4563F2
analogous
#F27D45 #F2D445 #BAF245
triadic
#F2D445 #45F2D4 #D445F2
tetradic
#F2D445 #45F27D #4563F2 #F245BA
square
#F2D445 #45F27D #4563F2 #F245BA
split-complementary
#F2D445 #45BAF2 #7D45F2
monochromatic
#B0940C #E9C410 #F2D445 #F6E17E #FAEEB7

Accessibility & contrast

On white

1.47
#F2D445 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#F2D445 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D445
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D445#FFFFFF#000000##000000
##F2D4451.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF2E
Deuteranopia (green-blind)
#F1D94E
Tritanopia (blue-blind)
#FFC4B8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d445;
/* rgb */ color: rgb(242, 212, 69);
/* oklch */ color: oklch(87.1% 0.158 97.0);
Tailwind
colors: {
  custom: {
    50: '#fbe081',
    500: '#f2d445',
    950: '#000000',
  },
}
SCSS
$custom: #f2d445;
$custom-light: #fbe081;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d445",
  "rgb": {
    "r": 242,
    "g": 212,
    "b": 69
  },
  "hsl": {
    "h": 49.595,
    "s": 86.935,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87097,
    "c": 0.15774,
    "h": 97
  },
  "luminance": 0.66394
}

Semantic roles & 50–950 ramp

primary
#F2D445
secondary
#2B42B0
accent
#29E302
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #F2D445

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

Preview Lab → · Contrast checker → · Palette generator →

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