#CCBC74#CCBC74

#CCBC74 is a light, moderate yellow. Relative luminance 0.501; OKLCH L 79.3% C 0.094 H 97.2°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#CCBC74
RGBrgb(204, 188, 116)
HSLhsl(49, 46%, 63%)
HSVhsv(49, 43%, 80%)
CMYKcmyk(0%, 7.8%, 43.1%, 20%)
CIE-LABlab(76.11, -4.35, 38.40)
CIE-LCHlch(76.11, 38.65, 96.47°)
OKLaboklab(79.26% -0.0117 0.0933)
OKLCHoklch(79.26% 0.094 97.2)
XYZxyz(46.0386, 50.0663, 23.7583)
Luminance0.5007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC74 #7484CC
analogous
#CC9074 #CCBC74 #B0CC74
triadic
#CCBC74 #74CCBC #BC74CC
tetradic
#CCBC74 #74CC90 #7484CC #CC74B0
square
#CCBC74 #74CC90 #7484CC #CC74B0
split-complementary
#CCBC74 #74B0CC #9074CC
monochromatic
#918035 #BCA647 #CCBC74 #DCD2A1 #EDE7CE

Accessibility & contrast

On white

1.91
#CCBC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#CCBC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC74
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC74#FFFFFF#000000##000000
##CCBC741.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B86E
Deuteranopia (green-blind)
#CEBE77
Tritanopia (blue-blind)
#D8B2AA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbc74;
/* rgb */ color: rgb(204, 188, 116);
/* oklch */ color: oklch(79.3% 0.094 97.2);
Tailwind
colors: {
  custom: {
    50: '#ddd09d',
    500: '#ccbc74',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc74;
$custom-light: #ddd09d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc74",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 116
  },
  "hsl": {
    "h": 49.091,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.79257,
    "c": 0.09401,
    "h": 97.2
  },
  "luminance": 0.50065
}

Semantic roles & 50–950 ramp

primary
#CCBC74
secondary
#4D5B97
accent
#46BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130E
muted
#84837F

Preview Lab

Preview with #CCBC74

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

Preview Lab → · Contrast checker → · Palette generator →

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