#FFCC07#FFCC07

#FFCC07 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.5% C 0.176 H 90.3°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#FFCC07
RGBrgb(255, 204, 7)
HSLhsl(48, 100%, 51%)
HSVhsv(48, 97%, 100%)
CMYKcmyk(0%, 20%, 97.3%, 0%)
CIE-LABlab(84.21, 3.73, 84.59)
CIE-LCHlch(84.21, 84.67, 87.47°)
OKLaboklab(86.53% -0.0008 0.176)
OKLCHoklch(86.53% 0.176 90.3)
XYZxyz(62.8754, 64.4655, 9.3324)
Luminance0.6446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFCC07 #073AFF
analogous
#FF5007 #FFCC07 #B6FF07
triadic
#FFCC07 #07FFCC #CC07FF
tetradic
#FFCC07 #07FF50 #073AFF #FF07B6
square
#FFCC07 #07FF50 #073AFF #FF07B6
split-complementary
#FFCC07 #07B6FF #5007FF
monochromatic
#8C6F00 #C9A000 #FFCC07 #FFD944 #FFE581

Accessibility & contrast

On white

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

On black

13.89
#FFCC07 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFCC07
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFCC07#FFFFFF#000000##000000
##FFCC071.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CA00
Deuteranopia (green-blind)
#F2D822
Tritanopia (blue-blind)
#FFB9AE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ffcc07;
/* rgb */ color: rgb(255, 204, 7);
/* oklch */ color: oklch(86.5% 0.176 90.3);
Tailwind
colors: {
  custom: {
    50: '#ffdb6b',
    500: '#ffcc07',
    950: '#000000',
  },
}
SCSS
$custom: #ffcc07;
$custom-light: #ffdb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ffcc07",
  "rgb": {
    "r": 255,
    "g": 204,
    "b": 7
  },
  "hsl": {
    "h": 47.661,
    "s": 100,
    "l": 51.373
  },
  "oklch": {
    "l": 0.8653,
    "c": 0.17602,
    "h": 90.3
  },
  "luminance": 0.64461
}

Semantic roles & 50–950 ramp

primary
#FFCC07
secondary
#1A3291
accent
#55FF29
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#1A1408
muted
#87837D

Preview Lab

Preview with #FFCC07

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

Preview Lab → · Contrast checker → · Palette generator →

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