#CCBE4A#CCBE4A

#CCBE4A is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.2% C 0.136 H 102.4°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#CCBE4A
RGBrgb(204, 190, 74)
HSLhsl(54, 56%, 55%)
HSVhsv(54, 64%, 80%)
CMYKcmyk(0%, 6.9%, 63.7%, 20%)
CIE-LABlab(76.17, -8.87, 58.42)
CIE-LCHlch(76.17, 59.09, 98.63°)
OKLaboklab(79.15% -0.0292 0.1327)
OKLCHoklch(79.15% 0.136 102.4)
XYZxyz(44.5531, 50.1605, 13.8123)
Luminance0.5016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBE4A #4A58CC
analogous
#CC7D4A #CCBE4A #99CC4A
triadic
#CCBE4A #4ACCBE #BE4ACC
tetradic
#CCBE4A #4ACC7D #4A58CC #CC4A99
square
#CCBE4A #4ACC7D #4A58CC #CC4A99
split-complementary
#CCBE4A #4A99CC #7D4ACC
monochromatic
#797022 #A99C30 #CCBE4A #D9CF7A #E7E0A9

Accessibility & contrast

On white

1.90
#CCBE4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#CCBE4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBE4A
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBE4A#FFFFFF#000000##000000
##CCBE4A1.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB83C
Deuteranopia (green-blind)
#D3BF51
Tritanopia (blue-blind)
#DBB1A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbe4a;
/* rgb */ color: rgb(204, 190, 74);
/* oklch */ color: oklch(79.2% 0.136 102.4);
Tailwind
colors: {
  custom: {
    50: '#dfd182',
    500: '#ccbe4a',
    950: '#000000',
  },
}
SCSS
$custom: #ccbe4a;
$custom-light: #dfd182;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbe4a",
  "rgb": {
    "r": 204,
    "g": 190,
    "b": 74
  },
  "hsl": {
    "h": 53.538,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79151,
    "c": 0.13587,
    "h": 102.4
  },
  "luminance": 0.50159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBE4A

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

Preview Lab → · Contrast checker → · Palette generator →

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