#FCEBA2#FCEBA2

#FCEBA2 is a very light, moderate yellow. Relative luminance 0.827; OKLCH L 93.7% C 0.094 H 96.6°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#FCEBA2
RGBrgb(252, 235, 162)
HSLhsl(49, 94%, 81%)
HSVhsv(49, 36%, 99%)
CMYKcmyk(0%, 6.7%, 35.7%, 1.2%)
CIE-LABlab(92.89, -4.52, 37.55)
CIE-LCHlch(92.89, 37.82, 96.86°)
OKLaboklab(93.72% -0.0108 0.0929)
OKLCHoklch(93.72% 0.094 96.6)
XYZxyz(76.3760, 82.7230, 46.1193)
Luminance0.8272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEBA2 #A2B3FC
analogous
#FCBEA2 #FCEBA2 #E0FCA2
triadic
#FCEBA2 #A2FCEB #EBA2FC
tetradic
#FCEBA2 #A2FCBE #A2B3FC #FCA2E0
square
#FCEBA2 #A2FCBE #A2B3FC #FCA2E0
split-complementary
#FCEBA2 #A2E0FC #BEA2FC
monochromatic
#F8D22B #FADE67 #FCEBA2 #FEF8DD #FEF9E1

Accessibility & contrast

On white

1.20
#FCEBA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.54
#FCEBA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEBA2
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEBA2#FFFFFF#000000##000000
##FCEBA21.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E79D
Deuteranopia (green-blind)
#FEEDA5
Tritanopia (blue-blind)
#FFE1D8
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #fceba2;
/* rgb */ color: rgb(252, 235, 162);
/* oklch */ color: oklch(93.7% 0.094 96.6);
Tailwind
colors: {
  custom: {
    50: '#fef1be',
    500: '#fceba2',
    950: '#000000',
  },
}
SCSS
$custom: #fceba2;
$custom-light: #fef1be;
$custom-dark: #000000;
JSON
{
  "hex": "#fceba2",
  "rgb": {
    "r": 252,
    "g": 235,
    "b": 162
  },
  "hsl": {
    "h": 48.667,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.93719,
    "c": 0.09355,
    "h": 96.6
  },
  "luminance": 0.82721
}

Semantic roles & 50–950 ramp

primary
#FCEBA2
secondary
#637BDF
accent
#2BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181612
muted
#868582

Preview Lab

Preview with #FCEBA2

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

Preview Lab → · Contrast checker → · Palette generator →

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