#CCBD5A#CCBD5A

#CCBD5A is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.1% C 0.121 H 100.8°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#CCBD5A
RGBrgb(204, 189, 90)
HSLhsl(52, 53%, 58%)
HSVhsv(52, 56%, 80%)
CMYKcmyk(0%, 7.4%, 55.9%, 20%)
CIE-LABlab(76.05, -7.23, 51.12)
CIE-LCHlch(76.05, 51.63, 98.05°)
OKLaboklab(79.11% -0.0227 0.1192)
OKLCHoklch(79.11% 0.121 100.8)
XYZxyz(44.9464, 49.9725, 16.9490)
Luminance0.4997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD5A #5A69CC
analogous
#CC845A #CCBD5A #A2CC5A
triadic
#CCBD5A #5ACCBD #BD5ACC
tetradic
#CCBD5A #5ACC84 #5A69CC #CC5AA2
square
#CCBD5A #5ACC84 #5A69CC #CC5AA2
split-complementary
#CCBD5A #5AA2CC #845ACC
monochromatic
#837729 #B2A237 #CCBD5A #DAD089 #E9E2B7

Accessibility & contrast

On white

1.91
#CCBD5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#CCBD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD5A
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD5A#FFFFFF#000000##000000
##CCBD5A1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB850
Deuteranopia (green-blind)
#D1BE5F
Tritanopia (blue-blind)
#DAB1A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbd5a;
/* rgb */ color: rgb(204, 189, 90);
/* oklch */ color: oklch(79.1% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#ded08c',
    500: '#ccbd5a',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd5a;
$custom-light: #ded08c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd5a",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 90
  },
  "hsl": {
    "h": 52.105,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79107,
    "c": 0.12137,
    "h": 100.8
  },
  "luminance": 0.49971
}

Semantic roles & 50–950 ramp

primary
#CCBD5A
secondary
#AAB0D8
accent
#5FDC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140C
muted
#83827D

Preview Lab

Preview with #CCBD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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