#F2CB51#F2CB51

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

Color values

HEX#F2CB51
RGBrgb(242, 203, 81)
HSLhsl(45, 86%, 63%)
HSVhsv(45, 67%, 95%)
CMYKcmyk(0%, 16.1%, 66.5%, 5.1%)
CIE-LABlab(83.01, 0.85, 63.75)
CIE-LCHlch(83.01, 63.76, 89.23°)
OKLaboklab(85.4% -0.0029 0.144)
OKLCHoklch(85.4% 0.144 91.1)
XYZxyz(59.4622, 62.1866, 16.6542)
Luminance0.6218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CB51 #5178F2
analogous
#F27A51 #F2CB51 #C8F251
triadic
#F2CB51 #51F2CB #CB51F2
tetradic
#F2CB51 #51F27A #5178F2 #F251C8
square
#F2CB51 #51F27A #5178F2 #F251C8
split-complementary
#F2CB51 #51C8F2 #7A51F2
monochromatic
#BB910E #EEBA18 #F2CB51 #F6DC8A #FBEDC3

Accessibility & contrast

On white

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

On black

13.44
#F2CB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CB51
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CB51#FFFFFF#000000##000000
##F2CB511.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C842
Deuteranopia (green-blind)
#EAD357
Tritanopia (blue-blind)
#FFBBB1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f2cb51;
/* rgb */ color: rgb(242, 203, 81);
/* oklch */ color: oklch(85.4% 0.144 91.1);
Tailwind
colors: {
  custom: {
    50: '#fada87',
    500: '#f2cb51',
    950: '#000000',
  },
}
SCSS
$custom: #f2cb51;
$custom-light: #fada87;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cb51",
  "rgb": {
    "r": 242,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 45.466,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.85396,
    "c": 0.14398,
    "h": 91.1
  },
  "luminance": 0.62183
}

Semantic roles & 50–950 ramp

primary
#F2CB51
secondary
#2E50B9
accent
#39E303
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F2CB51

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

Preview Lab → · Contrast checker → · Palette generator →

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