#FFCC2E#FFCC2E

#FFCC2E is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.6% C 0.167 H 89.0°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#FFCC2E
RGBrgb(255, 204, 46)
HSLhsl(45, 100%, 59%)
HSVhsv(45, 82%, 100%)
CMYKcmyk(0%, 20%, 82%, 0%)
CIE-LABlab(84.30, 4.38, 77.78)
CIE-LCHlch(84.30, 77.90, 86.78°)
OKLaboklab(86.63% 0.0029 0.1667)
OKLCHoklch(86.63% 0.167 89)
XYZxyz(63.3300, 64.6473, 11.7268)
Luminance0.6464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFCC2E #2E61FF
analogous
#FF642E #FFCC2E #C9FF2E
triadic
#FFCC2E #2EFFCC #CC2EFF
tetradic
#FFCC2E #2EFF64 #2E61FF #FF2EC9
square
#FFCC2E #2EFF64 #2E61FF #FF2EC9
split-complementary
#FFCC2E #2EC9FF #642EFF
monochromatic
#B38700 #F0B500 #FFCC2E #FFDB6B #FFEAA8

Accessibility & contrast

On white

1.51
#FFCC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#FFCC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFCC2E
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFCC2E#FFFFFF#000000##000000
##FFCC2E1.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#F1D839
Tritanopia (blue-blind)
#FFB9AF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ffcc2e;
/* rgb */ color: rgb(255, 204, 46);
/* oklch */ color: oklch(86.6% 0.167 89.0);
Tailwind
colors: {
  custom: {
    50: '#ffdb76',
    500: '#ffcc2e',
    950: '#000000',
  },
}
SCSS
$custom: #ffcc2e;
$custom-light: #ffdb76;
$custom-dark: #000000;
JSON
{
  "hex": "#ffcc2e",
  "rgb": {
    "r": 255,
    "g": 204,
    "b": 46
  },
  "hsl": {
    "h": 45.359,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86634,
    "c": 0.16673,
    "h": 89
  },
  "luminance": 0.64643
}

Semantic roles & 50–950 ramp

primary
#FFCC2E
secondary
#1F43B2
accent
#5DFF29
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#191409
muted
#87837D

Preview Lab

Preview with #FFCC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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