#F2CD4E#F2CD4E

#F2CD4E is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.8% C 0.147 H 92.6°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#F2CD4E
RGBrgb(242, 205, 78)
HSLhsl(46, 86%, 63%)
HSVhsv(46, 68%, 95%)
CMYKcmyk(0%, 15.3%, 67.8%, 5.1%)
CIE-LABlab(83.49, -0.34, 65.49)
CIE-LCHlch(83.49, 65.49, 90.29°)
OKLaboklab(85.77% -0.0066 0.1471)
OKLCHoklch(85.77% 0.147 92.6)
XYZxyz(59.8275, 63.0933, 16.2332)
Luminance0.6309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CD4E #4E73F2
analogous
#F27B4E #F2CD4E #C5F24E
triadic
#F2CD4E #4EF2CD #CD4EF2
tetradic
#F2CD4E #4EF27B #4E73F2 #F24EC5
square
#F2CD4E #4EF27B #4E73F2 #F24EC5
split-complementary
#F2CD4E #4EC5F2 #7B4EF2
monochromatic
#B8920E #EEBD15 #F2CD4E #F6DD87 #FAEDC0

Accessibility & contrast

On white

1.54
#F2CD4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#F2CD4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CD4E
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CD4E#FFFFFF#000000##000000
##F2CD4E1.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA3D
Deuteranopia (green-blind)
#EBD554
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f2cd4e;
/* rgb */ color: rgb(242, 205, 78);
/* oklch */ color: oklch(85.8% 0.147 92.6);
Tailwind
colors: {
  custom: {
    50: '#fadb86',
    500: '#f2cd4e',
    950: '#000000',
  },
}
SCSS
$custom: #f2cd4e;
$custom-light: #fadb86;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cd4e",
  "rgb": {
    "r": 242,
    "g": 205,
    "b": 78
  },
  "hsl": {
    "h": 46.463,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.85767,
    "c": 0.14729,
    "h": 92.6
  },
  "luminance": 0.6309
}

Semantic roles & 50–950 ramp

primary
#F2CD4E
secondary
#2D4CB7
accent
#35E303
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2CD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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