#CCBE7F#CCBE7F

#CCBE7F is a light, moderate yellow. Relative luminance 0.512; OKLCH L 79.9% C 0.083 H 97.2°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#CCBE7F
RGBrgb(204, 190, 127)
HSLhsl(49, 43%, 65%)
HSVhsv(49, 38%, 80%)
CMYKcmyk(0%, 6.9%, 37.7%, 20%)
CIE-LABlab(76.80, -4.20, 33.62)
CIE-LCHlch(76.80, 33.88, 97.11°)
OKLaboklab(79.86% -0.0104 0.0828)
OKLCHoklch(79.86% 0.083 97.2)
XYZxyz(47.1469, 51.1980, 27.4732)
Luminance0.5120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBE7F #7F8DCC
analogous
#CC987F #CCBE7F #B4CC7F
triadic
#CCBE7F #7FCCBE #BE7FCC
tetradic
#CCBE7F #7FCC98 #7F8DCC #CC7FB4
square
#CCBE7F #7FCC98 #7F8DCC #CC7FB4
split-complementary
#CCBE7F #7FB4CC #987FCC
monochromatic
#95853B #BBA853 #CCBE7F #DDD4AB #EFEAD7

Accessibility & contrast

On white

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

On black

11.24
#CCBE7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBE7F
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBE7F#FFFFFF#000000##000000
##CCBE7F1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABB7A
Deuteranopia (green-blind)
#CEC081
Tritanopia (blue-blind)
#D7B5AE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccbe7f;
/* rgb */ color: rgb(204, 190, 127);
/* oklch */ color: oklch(79.9% 0.083 97.2);
Tailwind
colors: {
  custom: {
    50: '#ddd1a5',
    500: '#ccbe7f',
    950: '#000000',
  },
}
SCSS
$custom: #ccbe7f;
$custom-light: #ddd1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbe7f",
  "rgb": {
    "r": 204,
    "g": 190,
    "b": 127
  },
  "hsl": {
    "h": 49.091,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.79855,
    "c": 0.08349,
    "h": 97.2
  },
  "luminance": 0.51197
}

Semantic roles & 50–950 ramp

primary
#CCBE7F
secondary
#54619C
accent
#48B62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCBE7F

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

Preview Lab → · Contrast checker → · Palette generator →

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