#CCC775#CCC775

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

Color values

HEX#CCC775
RGBrgb(204, 199, 117)
HSLhsl(57, 46%, 63%)
HSVhsv(57, 43%, 80%)
CMYKcmyk(0%, 2.5%, 42.6%, 20%)
CIE-LABlab(79.02, -9.93, 41.56)
CIE-LCHlch(79.02, 42.73, 103.44°)
OKLaboklab(81.57% -0.0277 0.1005)
OKLCHoklch(81.57% 0.104 105.4)
XYZxyz(48.5371, 54.9698, 24.8796)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC775 #757ACC
analogous
#CC9B75 #CCC775 #A5CC75
triadic
#CCC775 #75CCC7 #C775CC
tetradic
#CCC775 #75CC9B #757ACC #CC75A5
square
#CCC775 #75CC9B #757ACC #CC75A5
split-complementary
#CCC775 #75A5CC #9B75CC
monochromatic
#918C36 #BBB548 #CCC775 #DDD9A2 #EDEBCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC775#FFFFFF#000000##000000
##CCC7751.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)
#D4C16E
Deuteranopia (green-blind)
#D6C679
Tritanopia (blue-blind)
#D7BDB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc775;
/* rgb */ color: rgb(204, 199, 117);
/* oklch */ color: oklch(81.6% 0.104 105.4);
Tailwind
colors: {
  custom: {
    50: '#ddd79e',
    500: '#ccc775',
    950: '#000000',
  },
}
SCSS
$custom: #ccc775;
$custom-light: #ddd79e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc775",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 117
  },
  "hsl": {
    "h": 56.552,
    "s": 46.032,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81571,
    "c": 0.10423,
    "h": 105.4
  },
  "luminance": 0.54969
}

Semantic roles & 50–950 ramp

primary
#CCC775
secondary
#4E5298
accent
#34B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC775

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

Preview Lab → · Contrast checker → · Palette generator →

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