#F2CA52#F2CA52

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

Color values

HEX#F2CA52
RGBrgb(242, 202, 82)
HSLhsl(45, 86%, 64%)
HSVhsv(45, 66%, 95%)
CMYKcmyk(0%, 16.5%, 66.1%, 5.1%)
CIE-LABlab(82.77, 1.43, 63.08)
CIE-LCHlch(82.77, 63.09, 88.71°)
OKLaboklab(85.21% -0.0011 0.1427)
OKLCHoklch(85.21% 0.143 90.4)
XYZxyz(59.2645, 61.7309, 16.7747)
Luminance0.6173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CA52 #527AF2
analogous
#F27A52 #F2CA52 #CAF252
triadic
#F2CA52 #52F2CA #CA52F2
tetradic
#F2CA52 #52F27A #527AF2 #F252CA
square
#F2CA52 #52F27A #527AF2 #F252CA
split-complementary
#F2CA52 #52CAF2 #7A52F2
monochromatic
#BC900E #EEB919 #F2CA52 #F6DB8B #FBEDC4

Accessibility & contrast

On white

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

On black

13.35
#F2CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CA52
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CA52#FFFFFF#000000##000000
##F2CA521.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC843
Deuteranopia (green-blind)
#E9D358
Tritanopia (blue-blind)
#FFBAB1
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #f2ca52;
/* rgb */ color: rgb(242, 202, 82);
/* oklch */ color: oklch(85.2% 0.143 90.4);
Tailwind
colors: {
  custom: {
    50: '#fad988',
    500: '#f2ca52',
    950: '#000000',
  },
}
SCSS
$custom: #f2ca52;
$custom-light: #fad988;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ca52",
  "rgb": {
    "r": 242,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 45,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85208,
    "c": 0.14268,
    "h": 90.4
  },
  "luminance": 0.61728
}

Semantic roles & 50–950 ramp

primary
#F2CA52
secondary
#2E51BA
accent
#3BE303
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F2CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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