#F2CA4F#F2CA4F

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

Color values

HEX#F2CA4F
RGBrgb(242, 202, 79)
HSLhsl(45, 86%, 63%)
HSVhsv(45, 67%, 95%)
CMYKcmyk(0%, 16.5%, 67.4%, 5.1%)
CIE-LABlab(82.75, 1.26, 64.30)
CIE-LCHlch(82.75, 64.32, 88.88°)
OKLaboklab(85.18% -0.0019 0.1448)
OKLCHoklch(85.18% 0.145 90.8)
XYZxyz(59.1529, 61.6863, 16.1866)
Luminance0.6168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CA4F #4F77F2
analogous
#F2784F #F2CA4F #C8F24F
triadic
#F2CA4F #4FF2CA #CA4FF2
tetradic
#F2CA4F #4FF278 #4F77F2 #F24FC8
square
#F2CA4F #4FF278 #4F77F2 #F24FC8
split-complementary
#F2CA4F #4FC8F2 #784FF2
monochromatic
#B98F0E #EEB916 #F2CA4F #F6DB88 #FAECC1

Accessibility & contrast

On white

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

On black

13.34
#F2CA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CA4F
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CA4F#FFFFFF#000000##000000
##F2CA4F1.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ca4f;
/* rgb */ color: rgb(242, 202, 79);
/* oklch */ color: oklch(85.2% 0.145 90.8);
Tailwind
colors: {
  custom: {
    50: '#fad986',
    500: '#f2ca4f',
    950: '#000000',
  },
}
SCSS
$custom: #f2ca4f;
$custom-light: #fad986;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ca4f",
  "rgb": {
    "r": 242,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 45.276,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85181,
    "c": 0.14481,
    "h": 90.8
  },
  "luminance": 0.61683
}

Semantic roles & 50–950 ramp

primary
#F2CA4F
secondary
#2D4FB8
accent
#3AE303
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #F2CA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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