#CCBC7E#CCBC7E

#CCBC7E is a light, moderate yellow. Relative luminance 0.503; OKLCH L 79.4% C 0.083 H 95.4°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#CCBC7E
RGBrgb(204, 188, 126)
HSLhsl(48, 43%, 65%)
HSVhsv(48, 38%, 80%)
CMYKcmyk(0%, 7.8%, 38.2%, 20%)
CIE-LABlab(76.26, -3.26, 33.44)
CIE-LCHlch(76.26, 33.60, 95.58°)
OKLaboklab(79.42% -0.0078 0.0824)
OKLCHoklch(79.42% 0.083 95.4)
XYZxyz(46.6519, 50.3116, 26.9883)
Luminance0.5031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC7E #7E8ECC
analogous
#CC957E #CCBC7E #B5CC7E
triadic
#CCBC7E #7ECCBC #BC7ECC
tetradic
#CCBC7E #7ECC95 #7E8ECC #CC7EB5
square
#CCBC7E #7ECC95 #7E8ECC #CC7EB5
split-complementary
#CCBC7E #7EB5CC #957ECC
monochromatic
#95823B #BBA552 #CCBC7E #DDD3AA #EFEAD6

Accessibility & contrast

On white

1.90
#CCBC7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#CCBC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC7E
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC7E#FFFFFF#000000##000000
##CCBC7E1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B97A
Deuteranopia (green-blind)
#CCBE80
Tritanopia (blue-blind)
#D7B3AC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbc7e;
/* rgb */ color: rgb(204, 188, 126);
/* oklch */ color: oklch(79.4% 0.083 95.4);
Tailwind
colors: {
  custom: {
    50: '#ddd0a4',
    500: '#ccbc7e',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc7e;
$custom-light: #ddd0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc7e",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 126
  },
  "hsl": {
    "h": 47.692,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.79424,
    "c": 0.08276,
    "h": 95.4
  },
  "luminance": 0.5031
}

Semantic roles & 50–950 ramp

primary
#CCBC7E
secondary
#53629B
accent
#4BB62F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130F
muted
#848380

Preview Lab

Preview with #CCBC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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