#F2CB4F#F2CB4F

#F2CB4F is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.4% C 0.145 H 91.3°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#F2CB4F
RGBrgb(242, 203, 79)
HSLhsl(46, 86%, 63%)
HSVhsv(46, 67%, 95%)
CMYKcmyk(0%, 16.1%, 67.4%, 5.1%)
CIE-LABlab(83.00, 0.74, 64.56)
CIE-LCHlch(83.00, 64.57, 89.34°)
OKLaboklab(85.38% -0.0034 0.1454)
OKLCHoklch(85.38% 0.145 91.3)
XYZxyz(59.3883, 62.1571, 16.2651)
Luminance0.6215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CB4F #4F76F2
analogous
#F2794F #F2CB4F #C8F24F
triadic
#F2CB4F #4FF2CB #CB4FF2
tetradic
#F2CB4F #4FF279 #4F76F2 #F24FC8
square
#F2CB4F #4FF279 #4F76F2 #F24FC8
split-complementary
#F2CB4F #4FC8F2 #794FF2
monochromatic
#B9900E #EEBA16 #F2CB4F #F6DC88 #FAEDC1

Accessibility & contrast

On white

1.56
#F2CB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#F2CB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CB4F
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CB4F#FFFFFF#000000##000000
##F2CB4F1.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83F
Deuteranopia (green-blind)
#EAD355
Tritanopia (blue-blind)
#FFBBB1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f2cb4f;
/* rgb */ color: rgb(242, 203, 79);
/* oklch */ color: oklch(85.4% 0.145 91.3);
Tailwind
colors: {
  custom: {
    50: '#fada86',
    500: '#f2cb4f',
    950: '#000000',
  },
}
SCSS
$custom: #f2cb4f;
$custom-light: #fada86;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cb4f",
  "rgb": {
    "r": 242,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 45.644,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85379,
    "c": 0.14539,
    "h": 91.3
  },
  "luminance": 0.62154
}

Semantic roles & 50–950 ramp

primary
#F2CB4F
secondary
#2D4FB8
accent
#38E303
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #F2CB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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