#CCBF7E#CCBF7E

#CCBF7E is a light, moderate yellow. Relative luminance 0.516; OKLCH L 80.0% C 0.086 H 98.3°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#CCBF7E
RGBrgb(204, 191, 126)
HSLhsl(50, 43%, 65%)
HSVhsv(50, 38%, 80%)
CMYKcmyk(0%, 6.4%, 38.2%, 20%)
CIE-LABlab(77.05, -4.83, 34.46)
CIE-LCHlch(77.05, 34.79, 97.98°)
OKLaboklab(80.05% -0.0123 0.0847)
OKLCHoklch(80.05% 0.086 98.3)
XYZxyz(47.2994, 51.6067, 27.2041)
Luminance0.5161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF7E #7E8BCC
analogous
#CC987E #CCBF7E #B2CC7E
triadic
#CCBF7E #7ECCBF #BF7ECC
tetradic
#CCBF7E #7ECC98 #7E8BCC #CC7EB2
square
#CCBF7E #7ECC98 #7E8BCC #CC7EB2
split-complementary
#CCBF7E #7EB2CC #987ECC
monochromatic
#95863B #BBA952 #CCBF7E #DDD5AA #EFEBD6

Accessibility & contrast

On white

1.85
#CCBF7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#CCBF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF7E
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF7E#FFFFFF#000000##000000
##CCBF7E1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBB79
Deuteranopia (green-blind)
#CFC080
Tritanopia (blue-blind)
#D7B6AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccbf7e;
/* rgb */ color: rgb(204, 191, 126);
/* oklch */ color: oklch(80.0% 0.086 98.3);
Tailwind
colors: {
  custom: {
    50: '#ddd2a4',
    500: '#ccbf7e',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf7e;
$custom-light: #ddd2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf7e",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 126
  },
  "hsl": {
    "h": 50,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.80045,
    "c": 0.08563,
    "h": 98.3
  },
  "luminance": 0.51605
}

Semantic roles & 50–950 ramp

primary
#CCBF7E
secondary
#535F9B
accent
#46B62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCBF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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