#F2CC59#F2CC59

#F2CC59 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.7% C 0.139 H 90.8°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#F2CC59
RGBrgb(242, 204, 89)
HSLhsl(45, 85%, 65%)
HSVhsv(45, 63%, 95%)
CMYKcmyk(0%, 15.7%, 63.2%, 5.1%)
CIE-LABlab(83.33, 0.81, 60.67)
CIE-LCHlch(83.33, 60.68, 89.24°)
OKLaboklab(85.67% -0.002 0.1386)
OKLCHoklch(85.67% 0.139 90.8)
XYZxyz(60.0169, 62.7876, 18.4073)
Luminance0.6278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CC59 #597FF2
analogous
#F27F59 #F2CC59 #CCF259
triadic
#F2CC59 #59F2CC #CC59F2
tetradic
#F2CC59 #59F27F #597FF2 #F259CC
square
#F2CC59 #59F27F #597FF2 #F259CC
split-complementary
#F2CC59 #59CCF2 #7F59F2
monochromatic
#C1950F #EEBB20 #F2CC59 #F6DD92 #FBEFCB

Accessibility & contrast

On white

1.55
#F2CC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#F2CC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CC59
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CC59#FFFFFF#000000##000000
##F2CC591.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2cc59;
/* rgb */ color: rgb(242, 204, 89);
/* oklch */ color: oklch(85.7% 0.139 90.8);
Tailwind
colors: {
  custom: {
    50: '#fadb8c',
    500: '#f2cc59',
    950: '#000000',
  },
}
SCSS
$custom: #f2cc59;
$custom-light: #fadb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cc59",
  "rgb": {
    "r": 242,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 45.098,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85669,
    "c": 0.13864,
    "h": 90.8
  },
  "luminance": 0.62784
}

Semantic roles & 50–950 ramp

primary
#F2CC59
secondary
#3054BF
accent
#3BE204
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F2CC59

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

Preview Lab → · Contrast checker → · Palette generator →

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