#F2CD4F#F2CD4F

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

Color values

HEX#F2CD4F
RGBrgb(242, 205, 79)
HSLhsl(46, 86%, 63%)
HSVhsv(46, 67%, 95%)
CMYKcmyk(0%, 15.3%, 67.4%, 5.1%)
CIE-LABlab(83.50, -0.28, 65.09)
CIE-LCHlch(83.50, 65.09, 90.25°)
OKLaboklab(85.78% -0.0064 0.1465)
OKLCHoklch(85.78% 0.147 92.5)
XYZxyz(59.8636, 63.1078, 16.4235)
Luminance0.6310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CD4F #4F74F2
analogous
#F27B4F #F2CD4F #C6F24F
triadic
#F2CD4F #4FF2CD #CD4FF2
tetradic
#F2CD4F #4FF27B #4F74F2 #F24FC6
square
#F2CD4F #4FF27B #4F74F2 #F24FC6
split-complementary
#F2CD4F #4FC6F2 #7B4FF2
monochromatic
#B9920E #EEBD16 #F2CD4F #F6DD88 #FAEDC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2CD4F#FFFFFF#000000##000000
##F2CD4F1.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)
#E2CA3F
Deuteranopia (green-blind)
#EBD555
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f2cd4f;
/* rgb */ color: rgb(242, 205, 79);
/* oklch */ color: oklch(85.8% 0.147 92.5);
Tailwind
colors: {
  custom: {
    50: '#fadb86',
    500: '#f2cd4f',
    950: '#000000',
  },
}
SCSS
$custom: #f2cd4f;
$custom-light: #fadb86;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cd4f",
  "rgb": {
    "r": 242,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 46.38,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85775,
    "c": 0.1466,
    "h": 92.5
  },
  "luminance": 0.63104
}

Semantic roles & 50–950 ramp

primary
#F2CD4F
secondary
#2D4DB8
accent
#36E303
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2CD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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