#CCBA7E#CCBA7E

#CCBA7E is a light, moderate yellow. Relative luminance 0.495; OKLCH L 79.0% C 0.081 H 93.4°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#CCBA7E
RGBrgb(204, 186, 126)
HSLhsl(46, 43%, 65%)
HSVhsv(46, 38%, 80%)
CMYKcmyk(0%, 8.8%, 38.2%, 20%)
CIE-LABlab(75.74, -2.21, 32.76)
CIE-LCHlch(75.74, 32.83, 93.87°)
OKLaboklab(79.01% -0.0047 0.0808)
OKLCHoklch(79.01% 0.081 93.4)
XYZxyz(46.2276, 49.4631, 26.8469)
Luminance0.4946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA7E #7E90CC
analogous
#CC937E #CCBA7E #B7CC7E
triadic
#CCBA7E #7ECCBA #BA7ECC
tetradic
#CCBA7E #7ECC93 #7E90CC #CC7EB7
square
#CCBA7E #7ECC93 #7E90CC #CC7EB7
split-complementary
#CCBA7E #7EB7CC #937ECC
monochromatic
#95803B #BBA352 #CCBA7E #DDD1AA #EFE9D6

Accessibility & contrast

On white

1.93
#CCBA7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#CCBA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA7E
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA7E#FFFFFF#000000##000000
##CCBA7E1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B77A
Deuteranopia (green-blind)
#CBBD80
Tritanopia (blue-blind)
#D8B1AB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccba7e;
/* rgb */ color: rgb(204, 186, 126);
/* oklch */ color: oklch(79.0% 0.081 93.4);
Tailwind
colors: {
  custom: {
    50: '#ddcea4',
    500: '#ccba7e',
    950: '#000000',
  },
}
SCSS
$custom: #ccba7e;
$custom-light: #ddcea4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba7e",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 126
  },
  "hsl": {
    "h": 46.154,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.79013,
    "c": 0.08095,
    "h": 93.4
  },
  "luminance": 0.49462
}

Semantic roles & 50–950 ramp

primary
#CCBA7E
secondary
#C6CCE0
accent
#4EB62F
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CCBA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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