#CCCA74#CCCA74

#CCCA74 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.2% C 0.109 H 107.4°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#CCCA74
RGBrgb(204, 202, 116)
HSLhsl(59, 46%, 63%)
HSVhsv(59, 43%, 80%)
CMYKcmyk(0%, 1%, 43.1%, 20%)
CIE-LABlab(79.81, -11.57, 43.04)
CIE-LCHlch(79.81, 44.56, 105.04°)
OKLaboklab(82.19% -0.0325 0.1037)
OKLCHoklch(82.19% 0.109 107.4)
XYZxyz(49.1757, 56.3405, 24.8040)
Luminance0.5634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA74 #7476CC
analogous
#CC9E74 #CCCA74 #A2CC74
triadic
#CCCA74 #74CCCA #CA74CC
tetradic
#CCCA74 #74CC9E #7476CC #CC74A2
square
#CCCA74 #74CC9E #7476CC #CC74A2
split-complementary
#CCCA74 #74A2CC #9E74CC
monochromatic
#918E35 #BCB947 #CCCA74 #DCDBA1 #EDECCE

Accessibility & contrast

On white

1.71
#CCCA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#CCCA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA74
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA74#FFFFFF#000000##000000
##CCCA741.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46D
Deuteranopia (green-blind)
#D9C878
Tritanopia (blue-blind)
#D7C0B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccca74;
/* rgb */ color: rgb(204, 202, 116);
/* oklch */ color: oklch(82.2% 0.109 107.4);
Tailwind
colors: {
  custom: {
    50: '#ddda9d',
    500: '#ccca74',
    950: '#000000',
  },
}
SCSS
$custom: #ccca74;
$custom-light: #ddda9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca74",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 116
  },
  "hsl": {
    "h": 58.636,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82189,
    "c": 0.10868,
    "h": 107.4
  },
  "luminance": 0.56339
}

Semantic roles & 50–950 ramp

primary
#CCCA74
secondary
#4D4F97
accent
#2FBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCCA74

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

Preview Lab → · Contrast checker → · Palette generator →

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