#CCBD74#CCBD74

#CCBD74 is a light, moderate yellow. Relative luminance 0.505; OKLCH L 79.5% C 0.095 H 98.0°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#CCBD74
RGBrgb(204, 189, 116)
HSLhsl(50, 46%, 63%)
HSVhsv(50, 43%, 80%)
CMYKcmyk(0%, 7.4%, 43.1%, 20%)
CIE-LABlab(76.37, -4.87, 38.74)
CIE-LCHlch(76.37, 39.04, 97.17°)
OKLaboklab(79.46% -0.0132 0.094)
OKLCHoklch(79.46% 0.095 98)
XYZxyz(46.2529, 50.4950, 23.8297)
Luminance0.5049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD74 #7483CC
analogous
#CC9174 #CCBD74 #AFCC74
triadic
#CCBD74 #74CCBD #BD74CC
tetradic
#CCBD74 #74CC91 #7483CC #CC74AF
square
#CCBD74 #74CC91 #7483CC #CC74AF
split-complementary
#CCBD74 #74AFCC #9174CC
monochromatic
#918135 #BCA847 #CCBD74 #DCD2A1 #EDE8CE

Accessibility & contrast

On white

1.89
#CCBD74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#CCBD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD74
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD74#FFFFFF#000000##000000
##CCBD741.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB96E
Deuteranopia (green-blind)
#CEBF77
Tritanopia (blue-blind)
#D8B3AB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbd74;
/* rgb */ color: rgb(204, 189, 116);
/* oklch */ color: oklch(79.5% 0.095 98.0);
Tailwind
colors: {
  custom: {
    50: '#ddd09d',
    500: '#ccbd74',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd74;
$custom-light: #ddd09d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd74",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 116
  },
  "hsl": {
    "h": 49.773,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.79464,
    "c": 0.09496,
    "h": 98
  },
  "luminance": 0.50494
}

Semantic roles & 50–950 ramp

primary
#CCBD74
secondary
#4D5A97
accent
#44BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCBD74

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

Preview Lab → · Contrast checker → · Palette generator →

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