#FCF267#FCF267

#FCF267 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.3% C 0.158 H 105.2°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#FCF267
RGBrgb(252, 242, 103)
HSLhsl(56, 96%, 70%)
HSVhsv(56, 59%, 99%)
CMYKcmyk(0%, 4%, 59.1%, 1.2%)
CIE-LABlab(93.96, -13.28, 66.54)
CIE-LCHlch(93.96, 67.86, 101.28°)
OKLaboklab(94.34% -0.0414 0.1527)
OKLCHoklch(94.34% 0.158 105.2)
XYZxyz(74.3477, 85.1815, 25.3547)
Luminance0.8518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF267 #6771FC
analogous
#FCA867 #FCF267 #BCFC67
triadic
#FCF267 #67FCF2 #F267FC
tetradic
#FCF267 #67FCA8 #6771FC #FC67BC
square
#FCF267 #67FCA8 #6771FC #FC67BC
split-complementary
#FCF267 #67BCFC #A867FC
monochromatic
#E4D505 #FBED2B #FCF267 #FDF7A3 #FEFCDF

Accessibility & contrast

On white

1.16
#FCF267 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.04
#FCF267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF267
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF267#FFFFFF#000000##000000
##FCF2671.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA57
Deuteranopia (green-blind)
#FFF16F
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf267;
/* rgb */ color: rgb(252, 242, 103);
/* oklch */ color: oklch(94.3% 0.158 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff697',
    500: '#fcf267',
    950: '#000000',
  },
}
SCSS
$custom: #fcf267;
$custom-light: #fff697;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf267",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 103
  },
  "hsl": {
    "h": 55.973,
    "s": 96.129,
    "l": 69.608
  },
  "oklch": {
    "l": 0.94336,
    "c": 0.15826,
    "h": 105.2
  },
  "luminance": 0.85179
}

Semantic roles & 50–950 ramp

primary
#FCF267
secondary
#313CD7
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF267

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

Preview Lab → · Contrast checker → · Palette generator →

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