#CCC673#CCC673

#CCC673 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.105 H 104.9°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#CCC673
RGBrgb(204, 198, 115)
HSLhsl(56, 47%, 63%)
HSVhsv(56, 44%, 80%)
CMYKcmyk(0%, 2.9%, 43.6%, 20%)
CIE-LABlab(78.73, -9.63, 42.20)
CIE-LCHlch(78.73, 43.28, 102.85°)
OKLaboklab(81.33% -0.027 0.1018)
OKLCHoklch(81.33% 0.105 104.9)
XYZxyz(48.1914, 54.4646, 24.1905)
Luminance0.5446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC673 #7379CC
analogous
#CC9973 #CCC673 #A6CC73
triadic
#CCC673 #73CCC6 #C673CC
tetradic
#CCC673 #73CC99 #7379CC #CC73A6
square
#CCC673 #73CC99 #7379CC #CC73A6
split-complementary
#CCC673 #73A6CC #9973CC
monochromatic
#908A34 #BCB446 #CCC673 #DCD8A0 #EDEBCD

Accessibility & contrast

On white

1.77
#CCC673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#CCC673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC673
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC673#FFFFFF#000000##000000
##CCC6731.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C06C
Deuteranopia (green-blind)
#D5C577
Tritanopia (blue-blind)
#D8BCB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc673;
/* rgb */ color: rgb(204, 198, 115);
/* oklch */ color: oklch(81.3% 0.105 104.9);
Tailwind
colors: {
  custom: {
    50: '#ddd79d',
    500: '#ccc673',
    950: '#000000',
  },
}
SCSS
$custom: #ccc673;
$custom-light: #ddd79d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc673",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 115
  },
  "hsl": {
    "h": 55.955,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8133,
    "c": 0.1053,
    "h": 104.9
  },
  "luminance": 0.54463
}

Semantic roles & 50–950 ramp

primary
#CCC673
secondary
#4D5297
accent
#35BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC673

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

Preview Lab → · Contrast checker → · Palette generator →

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