#F2CB45#F2CB45

#F2CB45 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 85.3% C 0.152 H 92.3°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#F2CB45
RGBrgb(242, 203, 69)
HSLhsl(46, 87%, 61%)
HSVhsv(46, 71%, 95%)
CMYKcmyk(0%, 16.1%, 71.5%, 5.1%)
CIE-LABlab(82.93, 0.24, 68.45)
CIE-LCHlch(82.93, 68.45, 89.80°)
OKLaboklab(85.3% -0.006 0.1519)
OKLCHoklch(85.3% 0.152 92.3)
XYZxyz(59.0513, 62.0223, 14.4902)
Luminance0.6202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CB45 #456CF2
analogous
#F27445 #F2CB45 #C2F245
triadic
#F2CB45 #45F2CB #CB45F2
tetradic
#F2CB45 #45F274 #456CF2 #F245C2
square
#F2CB45 #45F274 #456CF2 #F245C2
split-complementary
#F2CB45 #45C2F2 #7445F2
monochromatic
#B08B0C #E9B910 #F2CB45 #F6DB7E #FAEBB7

Accessibility & contrast

On white

1.57
#F2CB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#F2CB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CB45
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CB45#FFFFFF#000000##000000
##F2CB451.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C831
Deuteranopia (green-blind)
#EAD34C
Tritanopia (blue-blind)
#FFBBB0
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #f2cb45;
/* rgb */ color: rgb(242, 203, 69);
/* oklch */ color: oklch(85.3% 0.152 92.3);
Tailwind
colors: {
  custom: {
    50: '#fbda81',
    500: '#f2cb45',
    950: '#000000',
  },
}
SCSS
$custom: #f2cb45;
$custom-light: #fbda81;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cb45",
  "rgb": {
    "r": 242,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 46.474,
    "s": 86.935,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85299,
    "c": 0.15197,
    "h": 92.3
  },
  "luminance": 0.62019
}

Semantic roles & 50–950 ramp

primary
#F2CB45
secondary
#2B49B0
accent
#35E302
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F2CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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