#CCBD5F#CCBD5F

#CCBD5F is a light, moderate yellow. Relative luminance 0.501; OKLCH L 79.2% C 0.117 H 100.4°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#CCBD5F
RGBrgb(204, 189, 95)
HSLhsl(52, 52%, 59%)
HSVhsv(52, 53%, 80%)
CMYKcmyk(0%, 7.4%, 53.4%, 20%)
CIE-LABlab(76.11, -6.83, 48.82)
CIE-LCHlch(76.11, 49.30, 97.97°)
OKLaboklab(79.17% -0.021 0.1148)
OKLCHoklch(79.17% 0.117 100.4)
XYZxyz(45.1665, 50.0605, 18.1077)
Luminance0.5006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD5F #5F6ECC
analogous
#CC865F #CCBD5F #A4CC5F
triadic
#CCBD5F #5FCCBD #BD5FCC
tetradic
#CCBD5F #5FCC86 #5F6ECC #CC5FA4
square
#CCBD5F #5FCC86 #5F6ECC #CC5FA4
split-complementary
#CCBD5F #5FA4CC #865FCC
monochromatic
#86792B #B4A339 #CCBD5F #DBD08D #EAE3BC

Accessibility & contrast

On white

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

On black

11.01
#CCBD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD5F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD5F#FFFFFF#000000##000000
##CCBD5F1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB856
Deuteranopia (green-blind)
#D0BE63
Tritanopia (blue-blind)
#DAB2A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbd5f;
/* rgb */ color: rgb(204, 189, 95);
/* oklch */ color: oklch(79.2% 0.117 100.4);
Tailwind
colors: {
  custom: {
    50: '#ded08f',
    500: '#ccbd5f',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd5f;
$custom-light: #ded08f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd5f",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 95
  },
  "hsl": {
    "h": 51.743,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79168,
    "c": 0.11667,
    "h": 100.4
  },
  "luminance": 0.50059
}

Semantic roles & 50–950 ramp

primary
#CCBD5F
secondary
#424C8D
accent
#60DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCBD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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