#F2CA4D#F2CA4D

#F2CA4D is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 85.2% C 0.146 H 91.0°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#F2CA4D
RGBrgb(242, 202, 77)
HSLhsl(45, 86%, 63%)
HSVhsv(45, 68%, 95%)
CMYKcmyk(0%, 16.5%, 68.2%, 5.1%)
CIE-LABlab(82.73, 1.15, 65.11)
CIE-LCHlch(82.73, 65.12, 88.99°)
OKLaboklab(85.16% -0.0025 0.1462)
OKLCHoklch(85.16% 0.146 91)
XYZxyz(59.0812, 61.6576, 15.8090)
Luminance0.6165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CA4D #4D75F2
analogous
#F2784D #F2CA4D #C7F24D
triadic
#F2CA4D #4DF2CA #CA4DF2
tetradic
#F2CA4D #4DF278 #4D75F2 #F24DC7
square
#F2CA4D #4DF278 #4D75F2 #F24DC7
split-complementary
#F2CA4D #4DC7F2 #784DF2
monochromatic
#B78E0D #EEB914 #F2CA4D #F6DB86 #FAECBF

Accessibility & contrast

On white

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

On black

13.33
#F2CA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CA4D
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CA4D#FFFFFF#000000##000000
##F2CA4D1.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C73D
Deuteranopia (green-blind)
#E9D353
Tritanopia (blue-blind)
#FFBAB0
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #f2ca4d;
/* rgb */ color: rgb(242, 202, 77);
/* oklch */ color: oklch(85.2% 0.146 91.0);
Tailwind
colors: {
  custom: {
    50: '#fad985',
    500: '#f2ca4d',
    950: '#000000',
  },
}
SCSS
$custom: #f2ca4d;
$custom-light: #fad985;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ca4d",
  "rgb": {
    "r": 242,
    "g": 202,
    "b": 77
  },
  "hsl": {
    "h": 45.455,
    "s": 86.387,
    "l": 62.549
  },
  "oklch": {
    "l": 0.85164,
    "c": 0.14619,
    "h": 91
  },
  "luminance": 0.61654
}

Semantic roles & 50–950 ramp

primary
#F2CA4D
secondary
#2D4EB6
accent
#39E303
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F2CA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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