#F2CA40#F2CA40

#F2CA40 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 85.1% C 0.154 H 92.1°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#F2CA40
RGBrgb(242, 202, 64)
HSLhsl(47, 87%, 60%)
HSVhsv(47, 74%, 95%)
CMYKcmyk(0%, 16.5%, 73.6%, 5.1%)
CIE-LABlab(82.64, 0.54, 70.03)
CIE-LCHlch(82.64, 70.03, 89.56°)
OKLaboklab(85.07% -0.0057 0.1543)
OKLCHoklch(85.07% 0.154 92.1)
XYZxyz(58.6672, 61.4920, 13.6286)
Luminance0.6149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CA40 #4068F2
analogous
#F27140 #F2CA40 #C1F240
triadic
#F2CA40 #40F2CA #CA40F2
tetradic
#F2CA40 #40F271 #4068F2 #F240C1
square
#F2CA40 #40F271 #4068F2 #F240C1
split-complementary
#F2CA40 #40C1F2 #7140F2
monochromatic
#AC880C #E5B510 #F2CA40 #F6DA79 #FAEAB3

Accessibility & contrast

On white

1.58
#F2CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#F2CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CA40
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CA40#FFFFFF#000000##000000
##F2CA401.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C729
Deuteranopia (green-blind)
#EAD348
Tritanopia (blue-blind)
#FFB9AF
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #f2ca40;
/* rgb */ color: rgb(242, 202, 64);
/* oklch */ color: oklch(85.1% 0.154 92.1);
Tailwind
colors: {
  custom: {
    50: '#fbd97e',
    500: '#f2ca40',
    950: '#000000',
  },
}
SCSS
$custom: #f2ca40;
$custom-light: #fbd97e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ca40",
  "rgb": {
    "r": 242,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 46.517,
    "s": 87.255,
    "l": 60
  },
  "oklch": {
    "l": 0.85066,
    "c": 0.15436,
    "h": 92.1
  },
  "luminance": 0.61488
}

Semantic roles & 50–950 ramp

primary
#F2CA40
secondary
#2A47AD
accent
#5AFD2A
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140A
muted
#86837D

Preview Lab

Preview with #F2CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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