#F2CB54#F2CB54

#F2CB54 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.4% C 0.142 H 90.8°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#F2CB54
RGBrgb(242, 203, 84)
HSLhsl(45, 86%, 64%)
HSVhsv(45, 65%, 95%)
CMYKcmyk(0%, 16.1%, 65.3%, 5.1%)
CIE-LABlab(83.04, 1.02, 62.51)
CIE-LCHlch(83.04, 62.52, 89.06°)
OKLaboklab(85.42% -0.002 0.1418)
OKLCHoklch(85.42% 0.142 90.8)
XYZxyz(59.5771, 62.2326, 17.2598)
Luminance0.6223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CB54 #547BF2
analogous
#F27C54 #F2CB54 #CAF254
triadic
#F2CB54 #54F2CB #CB54F2
tetradic
#F2CB54 #54F27C #547BF2 #F254CA
square
#F2CB54 #54F27C #547BF2 #F254CA
split-complementary
#F2CB54 #54CAF2 #7C54F2
monochromatic
#BD920E #EEBA1B #F2CB54 #F6DC8D #FBEEC6

Accessibility & contrast

On white

1.56
#F2CB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#F2CB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CB54
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CB54#FFFFFF#000000##000000
##F2CB541.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C846
Deuteranopia (green-blind)
#EAD359
Tritanopia (blue-blind)
#FFBBB2
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f2cb54;
/* rgb */ color: rgb(242, 203, 84);
/* oklch */ color: oklch(85.4% 0.142 90.8);
Tailwind
colors: {
  custom: {
    50: '#fada89',
    500: '#f2cb54',
    950: '#000000',
  },
}
SCSS
$custom: #f2cb54;
$custom-light: #fada89;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cb54",
  "rgb": {
    "r": 242,
    "g": 203,
    "b": 84
  },
  "hsl": {
    "h": 45.19,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85423,
    "c": 0.1418,
    "h": 90.8
  },
  "luminance": 0.62229
}

Semantic roles & 50–950 ramp

primary
#F2CB54
secondary
#2F51BB
accent
#3AE203
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F2CB54

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

Preview Lab → · Contrast checker → · Palette generator →

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