#F2CD50#F2CD50

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

Color values

HEX#F2CD50
RGBrgb(242, 205, 80)
HSLhsl(46, 86%, 63%)
HSVhsv(46, 67%, 95%)
CMYKcmyk(0%, 15.3%, 66.9%, 5.1%)
CIE-LABlab(83.51, -0.23, 64.68)
CIE-LCHlch(83.51, 64.69, 90.20°)
OKLaboklab(85.78% -0.0061 0.1458)
OKLCHoklch(85.78% 0.146 92.4)
XYZxyz(59.9003, 63.1224, 16.6166)
Luminance0.6312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CD50 #5075F2
analogous
#F27C50 #F2CD50 #C6F250
triadic
#F2CD50 #50F2CD #CD50F2
tetradic
#F2CD50 #50F27C #5075F2 #F250C6
square
#F2CD50 #50F27C #5075F2 #F250C6
split-complementary
#F2CD50 #50C6F2 #7C50F2
monochromatic
#BA930E #EEBD17 #F2CD50 #F6DD89 #FAEEC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2CD50#FFFFFF#000000##000000
##F2CD501.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)
#E2CA40
Deuteranopia (green-blind)
#EBD556
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f2cd50;
/* rgb */ color: rgb(242, 205, 80);
/* oklch */ color: oklch(85.8% 0.146 92.4);
Tailwind
colors: {
  custom: {
    50: '#fadb87',
    500: '#f2cd50',
    950: '#000000',
  },
}
SCSS
$custom: #f2cd50;
$custom-light: #fadb87;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cd50",
  "rgb": {
    "r": 242,
    "g": 205,
    "b": 80
  },
  "hsl": {
    "h": 46.296,
    "s": 86.17,
    "l": 63.137
  },
  "oklch": {
    "l": 0.85784,
    "c": 0.1459,
    "h": 92.4
  },
  "luminance": 0.63119
}

Semantic roles & 50–950 ramp

primary
#F2CD50
secondary
#2E4DB9
accent
#36E303
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2CD50

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

Preview Lab → · Contrast checker → · Palette generator →

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