#CCBE2C#CCBE2C

#CCBE2C is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.9% C 0.155 H 103.6°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#CCBE2C
RGBrgb(204, 190, 44)
HSLhsl(55, 65%, 49%)
HSVhsv(55, 78%, 80%)
CMYKcmyk(0%, 6.9%, 78.4%, 20%)
CIE-LABlab(75.98, -10.33, 69.26)
CIE-LCHlch(75.98, 70.03, 98.48°)
OKLaboklab(78.94% -0.0364 0.1504)
OKLCHoklch(78.94% 0.155 103.6)
XYZxyz(43.7719, 49.8480, 9.6984)
Luminance0.4985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBE2C #2C3ACC
analogous
#CC6E2C #CCBE2C #8ACC2C
triadic
#CCBE2C #2CCCBE #BE2CCC
tetradic
#CCBE2C #2CCC6E #2C3ACC #CC2C8A
square
#CCBE2C #2CCC6E #2C3ACC #CC2C8A
split-complementary
#CCBE2C #2C8ACC #6E2CCC
monochromatic
#676016 #9A8F21 #CCBE2C #DBD05A #E6DE8C

Accessibility & contrast

On white

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

On black

10.97
#CCBE2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBE2C
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBE2C#FFFFFF#000000##000000
##CCBE2C1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D4BE38
Tritanopia (blue-blind)
#DCB0A3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbe2c;
/* rgb */ color: rgb(204, 190, 44);
/* oklch */ color: oklch(78.9% 0.155 103.6);
Tailwind
colors: {
  custom: {
    50: '#e0d172',
    500: '#ccbe2c',
    950: '#000000',
  },
}
SCSS
$custom: #ccbe2c;
$custom-light: #e0d172;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbe2c",
  "rgb": {
    "r": 204,
    "g": 190,
    "b": 44
  },
  "hsl": {
    "h": 54.75,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.78937,
    "c": 0.15474,
    "h": 103.6
  },
  "luminance": 0.49846
}

Semantic roles & 50–950 ramp

primary
#CCBE2C
secondary
#838AD0
accent
#4FE840
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #CCBE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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