#CCBD4F#CCBD4F

#CCBD4F is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.0% C 0.131 H 101.6°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#CCBD4F
RGBrgb(204, 189, 79)
HSLhsl(53, 55%, 55%)
HSVhsv(53, 61%, 80%)
CMYKcmyk(0%, 7.4%, 61.3%, 20%)
CIE-LABlab(75.95, -8.03, 56.01)
CIE-LCHlch(75.95, 56.59, 98.16°)
OKLaboklab(78.99% -0.0263 0.1283)
OKLCHoklch(78.99% 0.131 101.6)
XYZxyz(44.5124, 49.7988, 14.6631)
Luminance0.4980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD4F #4F5ECC
analogous
#CC7E4F #CCBD4F #9CCC4F
triadic
#CCBD4F #4FCCBD #BD4FCC
tetradic
#CCBD4F #4FCC7E #4F5ECC #CC4F9C
square
#CCBD4F #4FCC7E #4F5ECC #CC4F9C
split-complementary
#CCBD4F #4F9CCC #7E4FCC
monochromatic
#7D7224 #AC9D32 #CCBD4F #DACF7E #E7E1AE

Accessibility & contrast

On white

1.92
#CCBD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#CCBD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD4F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD4F#FFFFFF#000000##000000
##CCBD4F1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB843
Deuteranopia (green-blind)
#D2BE55
Tritanopia (blue-blind)
#DBB1A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbd4f;
/* rgb */ color: rgb(204, 189, 79);
/* oklch */ color: oklch(79.0% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#ded085',
    500: '#ccbd4f',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd4f;
$custom-light: #ded085;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd4f",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 79
  },
  "hsl": {
    "h": 52.8,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78988,
    "c": 0.13097,
    "h": 101.6
  },
  "luminance": 0.49797
}

Semantic roles & 50–950 ramp

primary
#CCBD4F
secondary
#A1A8D5
accent
#5BDE49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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