#FFCE2D#FFCE2D

#FFCE2D is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 87.0% C 0.168 H 90.0°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#FFCE2D
RGBrgb(255, 206, 45)
HSLhsl(46, 100%, 59%)
HSVhsv(46, 82%, 100%)
CMYKcmyk(0%, 19.2%, 82.4%, 0%)
CIE-LABlab(84.79, 3.32, 78.47)
CIE-LCHlch(84.79, 78.54, 87.57°)
OKLaboklab(87.02% -0.0001 0.168)
OKLCHoklch(87.02% 0.168 90)
XYZxyz(63.7890, 65.5963, 11.7837)
Luminance0.6559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFCE2D #2D5EFF
analogous
#FF652D #FFCE2D #C7FF2D
triadic
#FFCE2D #2DFFCE #CE2DFF
tetradic
#FFCE2D #2DFF65 #2D5EFF #FF2DC7
square
#FFCE2D #2DFF65 #2D5EFF #FF2DC7
split-complementary
#FFCE2D #2DC7FF #652DFF
monochromatic
#B28800 #EFB700 #FFCE2D #FFDC6A #FFEBA7

Accessibility & contrast

On white

1.49
#FFCE2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#FFCE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFCE2D
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFCE2D#FFFFFF#000000##000000
##FFCE2D1.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CC00
Deuteranopia (green-blind)
#F3D938
Tritanopia (blue-blind)
#FFBCB1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ffce2d;
/* rgb */ color: rgb(255, 206, 45);
/* oklch */ color: oklch(87.0% 0.168 90.0);
Tailwind
colors: {
  custom: {
    50: '#ffdc76',
    500: '#ffce2d',
    950: '#000000',
  },
}
SCSS
$custom: #ffce2d;
$custom-light: #ffdc76;
$custom-dark: #000000;
JSON
{
  "hex": "#ffce2d",
  "rgb": {
    "r": 255,
    "g": 206,
    "b": 45
  },
  "hsl": {
    "h": 46,
    "s": 100,
    "l": 58.824
  },
  "oklch": {
    "l": 0.87017,
    "c": 0.168,
    "h": 90
  },
  "luminance": 0.65592
}

Semantic roles & 50–950 ramp

primary
#FFCE2D
secondary
#1F41B1
accent
#5BFF29
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#191509
muted
#87847D

Preview Lab

Preview with #FFCE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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