#CCC774#CCC774

#CCC774 is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.6% C 0.105 H 105.5°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CCC774
RGBrgb(204, 199, 116)
HSLhsl(57, 46%, 63%)
HSVhsv(57, 43%, 80%)
CMYKcmyk(0%, 2.5%, 43.1%, 20%)
CIE-LABlab(79.01, -10.04, 42.05)
CIE-LCHlch(79.01, 43.23, 103.43°)
OKLaboklab(81.56% -0.0281 0.1015)
OKLCHoklch(81.56% 0.105 105.5)
XYZxyz(48.4786, 54.9464, 24.5716)
Luminance0.5494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC774 #7479CC
analogous
#CC9B74 #CCC774 #A5CC74
triadic
#CCC774 #74CCC7 #C774CC
tetradic
#CCC774 #74CC9B #7479CC #CC74A5
square
#CCC774 #74CC9B #7479CC #CC74A5
split-complementary
#CCC774 #74A5CC #9B74CC
monochromatic
#918B35 #BCB547 #CCC774 #DCD9A1 #EDEBCE

Accessibility & contrast

On white

1.75
#CCC774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#CCC774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC774
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC774#FFFFFF#000000##000000
##CCC7741.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C16D
Deuteranopia (green-blind)
#D6C578
Tritanopia (blue-blind)
#D7BDB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc774;
/* rgb */ color: rgb(204, 199, 116);
/* oklch */ color: oklch(81.6% 0.105 105.5);
Tailwind
colors: {
  custom: {
    50: '#ddd79d',
    500: '#ccc774',
    950: '#000000',
  },
}
SCSS
$custom: #ccc774;
$custom-light: #ddd79d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc774",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 116
  },
  "hsl": {
    "h": 56.591,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81556,
    "c": 0.10531,
    "h": 105.5
  },
  "luminance": 0.54945
}

Semantic roles & 50–950 ramp

primary
#CCC774
secondary
#4D5197
accent
#34BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC774

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

Preview Lab → · Contrast checker → · Palette generator →

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