#CCBF74#CCBF74

#CCBF74 is a light, moderate yellow. Relative luminance 0.514; OKLCH L 79.9% C 0.097 H 99.7°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#CCBF74
RGBrgb(204, 191, 116)
HSLhsl(51, 46%, 63%)
HSVhsv(51, 43%, 80%)
CMYKcmyk(0%, 6.4%, 43.1%, 20%)
CIE-LABlab(76.90, -5.91, 39.40)
CIE-LCHlch(76.90, 39.84, 98.54°)
OKLaboklab(79.88% -0.0162 0.0955)
OKLCHoklch(79.88% 0.097 99.7)
XYZxyz(46.6861, 51.3614, 23.9741)
Luminance0.5136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF74 #7481CC
analogous
#CC9374 #CCBF74 #ADCC74
triadic
#CCBF74 #74CCBF #BF74CC
tetradic
#CCBF74 #74CC93 #7481CC #CC74AD
square
#CCBF74 #74CC93 #7481CC #CC74AD
split-complementary
#CCBF74 #74ADCC #9374CC
monochromatic
#918335 #BCAA47 #CCBF74 #DCD4A1 #EDE8CE

Accessibility & contrast

On white

1.86
#CCBF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#CCBF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF74
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF74#FFFFFF#000000##000000
##CCBF741.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBB6E
Deuteranopia (green-blind)
#D0C077
Tritanopia (blue-blind)
#D8B5AD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccbf74;
/* rgb */ color: rgb(204, 191, 116);
/* oklch */ color: oklch(79.9% 0.097 99.7);
Tailwind
colors: {
  custom: {
    50: '#ddd29d',
    500: '#ccbf74',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf74;
$custom-light: #ddd29d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf74",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 116
  },
  "hsl": {
    "h": 51.136,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.7988,
    "c": 0.0969,
    "h": 99.7
  },
  "luminance": 0.5136
}

Semantic roles & 50–950 ramp

primary
#CCBF74
secondary
#4D5897
accent
#41BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCBF74

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

Preview Lab → · Contrast checker → · Palette generator →

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