#F2CD54#F2CD54

#F2CD54 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.8% C 0.143 H 92.0°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#F2CD54
RGBrgb(242, 205, 84)
HSLhsl(46, 86%, 64%)
HSVhsv(46, 65%, 95%)
CMYKcmyk(0%, 15.3%, 65.3%, 5.1%)
CIE-LABlab(83.54, -0.00, 63.05)
CIE-LCHlch(83.54, 63.05, 90.00°)
OKLaboklab(85.82% -0.005 0.1429)
OKLCHoklch(85.82% 0.143 92)
XYZxyz(60.0525, 63.1833, 17.4183)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CD54 #5479F2
analogous
#F27E54 #F2CD54 #C8F254
triadic
#F2CD54 #54F2CD #CD54F2
tetradic
#F2CD54 #54F27E #5479F2 #F254C8
square
#F2CD54 #54F27E #5479F2 #F254C8
split-complementary
#F2CD54 #54C8F2 #7E54F2
monochromatic
#BD940E #EEBC1B #F2CD54 #F6DE8D #FBEEC6

Accessibility & contrast

On white

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

On black

13.64
#F2CD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CD54
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CD54#FFFFFF#000000##000000
##F2CD541.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2cd54;
/* rgb */ color: rgb(242, 205, 84);
/* oklch */ color: oklch(85.8% 0.143 92.0);
Tailwind
colors: {
  custom: {
    50: '#fadb89',
    500: '#f2cd54',
    950: '#000000',
  },
}
SCSS
$custom: #f2cd54;
$custom-light: #fadb89;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cd54",
  "rgb": {
    "r": 242,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 45.949,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85819,
    "c": 0.14302,
    "h": 92
  },
  "luminance": 0.6318
}

Semantic roles & 50–950 ramp

primary
#F2CD54
secondary
#2F50BB
accent
#37E203
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2CD54

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

Preview Lab → · Contrast checker → · Palette generator →

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