#CCBD5C#CCBD5C

#CCBD5C is a light, moderate yellow. Relative luminance 0.500; OKLCH L 79.1% C 0.120 H 100.6°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#CCBD5C
RGBrgb(204, 189, 92)
HSLhsl(52, 52%, 58%)
HSVhsv(52, 55%, 80%)
CMYKcmyk(0%, 7.4%, 54.9%, 20%)
CIE-LABlab(76.07, -7.08, 50.21)
CIE-LCHlch(76.07, 50.70, 98.02°)
OKLaboklab(79.13% -0.0221 0.1175)
OKLCHoklch(79.13% 0.12 100.6)
XYZxyz(45.0327, 50.0070, 17.4033)
Luminance0.5000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD5C #5C6BCC
analogous
#CC855C #CCBD5C #A3CC5C
triadic
#CCBD5C #5CCCBD #BD5CCC
tetradic
#CCBD5C #5CCC85 #5C6BCC #CC5CA3
square
#CCBD5C #5CCC85 #5C6BCC #CC5CA3
split-complementary
#CCBD5C #5CA3CC #855CCC
monochromatic
#847829 #B3A238 #CCBD5C #DBD08B #E9E3B9

Accessibility & contrast

On white

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

On black

11.00
#CCBD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD5C
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD5C#FFFFFF#000000##000000
##CCBD5C1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB853
Deuteranopia (green-blind)
#D1BE61
Tritanopia (blue-blind)
#DAB1A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbd5c;
/* rgb */ color: rgb(204, 189, 92);
/* oklch */ color: oklch(79.1% 0.120 100.6);
Tailwind
colors: {
  custom: {
    50: '#ded08d',
    500: '#ccbd5c',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd5c;
$custom-light: #ded08d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd5c",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 92
  },
  "hsl": {
    "h": 51.964,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79131,
    "c": 0.11951,
    "h": 100.6
  },
  "luminance": 0.50005
}

Semantic roles & 50–950 ramp

primary
#CCBD5C
secondary
#414B8C
accent
#5FDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCBD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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