#CCBE7D#CCBE7D

#CCBE7D is a light, moderate yellow. Relative luminance 0.511; OKLCH L 79.8% C 0.086 H 97.5°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#CCBE7D
RGBrgb(204, 190, 125)
HSLhsl(49, 44%, 65%)
HSVhsv(49, 39%, 80%)
CMYKcmyk(0%, 6.9%, 38.7%, 20%)
CIE-LABlab(76.77, -4.42, 34.61)
CIE-LCHlch(76.77, 34.90, 97.28°)
OKLaboklab(79.82% -0.0112 0.0851)
OKLCHoklch(79.82% 0.086 97.5)
XYZxyz(47.0179, 51.1464, 26.7936)
Luminance0.5114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBE7D #7D8BCC
analogous
#CC977D #CCBE7D #B3CC7D
triadic
#CCBE7D #7DCCBE #BE7DCC
tetradic
#CCBE7D #7DCC97 #7D8BCC #CC7DB3
square
#CCBE7D #7DCC97 #7D8BCC #CC7DB3
split-complementary
#CCBE7D #7DB3CC #977DCC
monochromatic
#94843A #BBA851 #CCBE7D #DDD4A9 #EEEAD5

Accessibility & contrast

On white

1.87
#CCBE7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#CCBE7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBE7D
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBE7D#FFFFFF#000000##000000
##CCBE7D1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABB78
Deuteranopia (green-blind)
#CEC07F
Tritanopia (blue-blind)
#D7B5AE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbe7d;
/* rgb */ color: rgb(204, 190, 125);
/* oklch */ color: oklch(79.8% 0.086 97.5);
Tailwind
colors: {
  custom: {
    50: '#ddd1a3',
    500: '#ccbe7d',
    950: '#000000',
  },
}
SCSS
$custom: #ccbe7d;
$custom-light: #ddd1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbe7d",
  "rgb": {
    "r": 204,
    "g": 190,
    "b": 125
  },
  "hsl": {
    "h": 49.367,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.7982,
    "c": 0.0858,
    "h": 97.5
  },
  "luminance": 0.51145
}

Semantic roles & 50–950 ramp

primary
#CCBE7D
secondary
#525F9B
accent
#47B72F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCBE7D

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

Preview Lab → · Contrast checker → · Palette generator →

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