#CCBF4A#CCBF4A

#CCBF4A is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.4% C 0.137 H 103.0°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#CCBF4A
RGBrgb(204, 191, 74)
HSLhsl(54, 56%, 55%)
HSVhsv(54, 64%, 80%)
CMYKcmyk(0%, 6.4%, 63.7%, 20%)
CIE-LABlab(76.43, -9.38, 58.70)
CIE-LCHlch(76.43, 59.45, 99.08°)
OKLaboklab(79.36% -0.0307 0.1333)
OKLCHoklch(79.36% 0.137 103)
XYZxyz(44.7704, 50.5951, 13.8848)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF4A #4A57CC
analogous
#CC7E4A #CCBF4A #98CC4A
triadic
#CCBF4A #4ACCBF #BF4ACC
tetradic
#CCBF4A #4ACC7E #4A57CC #CC4A98
square
#CCBF4A #4ACC7E #4A57CC #CC4A98
split-complementary
#CCBF4A #4A98CC #7E4ACC
monochromatic
#797122 #A99D30 #CCBF4A #D9D07A #E7E1A9

Accessibility & contrast

On white

1.89
#CCBF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#CCBF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF4A
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF4A#FFFFFF#000000##000000
##CCBF4A1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB93C
Deuteranopia (green-blind)
#D3BF51
Tritanopia (blue-blind)
#DBB2A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf4a;
/* rgb */ color: rgb(204, 191, 74);
/* oklch */ color: oklch(79.4% 0.137 103.0);
Tailwind
colors: {
  custom: {
    50: '#dfd282',
    500: '#ccbf4a',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf4a;
$custom-light: #dfd282;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf4a",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 74
  },
  "hsl": {
    "h": 54,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79362,
    "c": 0.13678,
    "h": 103
  },
  "luminance": 0.50593
}

Semantic roles & 50–950 ramp

primary
#CCBF4A
secondary
#394082
accent
#58DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCBF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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