#FCF77B#FCF77B

#FCF77B is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.6% C 0.146 H 106.8°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#FCF77B
RGBrgb(252, 247, 123)
HSLhsl(58, 96%, 74%)
HSVhsv(58, 51%, 99%)
CMYKcmyk(0%, 2%, 51.2%, 1.2%)
CIE-LABlab(95.43, -14.24, 59.45)
CIE-LCHlch(95.43, 61.13, 103.47°)
OKLaboklab(95.57% -0.0421 0.1397)
OKLCHoklch(95.57% 0.146 106.8)
XYZxyz(76.9828, 88.6492, 31.7908)
Luminance0.8865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF77B #7B80FC
analogous
#FCB67B #FCF77B #C0FC7B
triadic
#FCF77B #7BFCF7 #F77BFC
tetradic
#FCF77B #7BFCB6 #7B80FC #FC7BC0
square
#FCF77B #7BFCB6 #7B80FC #FC7BC0
split-complementary
#FCF77B #7BC0FC #B67BFC
monochromatic
#F7EE06 #FBF33F #FCF77B #FDFBB7 #FEFDE1

Accessibility & contrast

On white

1.12
#FCF77B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.73
#FCF77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF77B
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF77B#FFFFFF#000000##000000
##FCF77B1.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6F
Deuteranopia (green-blind)
#FFF481
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf77b;
/* rgb */ color: rgb(252, 247, 123);
/* oklch */ color: oklch(95.6% 0.146 106.8);
Tailwind
colors: {
  custom: {
    50: '#fff9a4',
    500: '#fcf77b',
    950: '#000000',
  },
}
SCSS
$custom: #fcf77b;
$custom-light: #fff9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf77b",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 123
  },
  "hsl": {
    "h": 57.674,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.9557,
    "c": 0.14592,
    "h": 106.8
  },
  "luminance": 0.88647
}

Semantic roles & 50–950 ramp

primary
#FCF77B
secondary
#4248D9
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF77B

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

Preview Lab → · Contrast checker → · Palette generator →

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