#CCBE39#CCBE39

#CCBE39 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.0% C 0.148 H 103.2°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#CCBE39
RGBrgb(204, 190, 57)
HSLhsl(54, 59%, 51%)
HSVhsv(54, 72%, 80%)
CMYKcmyk(0%, 6.9%, 72.1%, 20%)
CIE-LABlab(76.05, -9.80, 65.01)
CIE-LCHlch(76.05, 65.74, 98.57°)
OKLaboklab(79.02% -0.0337 0.1438)
OKLCHoklch(79.02% 0.148 103.2)
XYZxyz(44.0557, 49.9615, 11.1930)
Luminance0.4996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBE39 #3947CC
analogous
#CC7439 #CCBE39 #90CC39
triadic
#CCBE39 #39CCBE #BE39CC
tetradic
#CCBE39 #39CC74 #3947CC #CC3990
square
#CCBE39 #39CC74 #3947CC #CC3990
split-complementary
#CCBE39 #3990CC #7439CC
monochromatic
#6E661C #9F9429 #CCBE39 #D9CE6A #E5DE9A

Accessibility & contrast

On white

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

On black

10.99
#CCBE39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBE39
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBE39#FFFFFF#000000##000000
##CCBE391.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB822
Deuteranopia (green-blind)
#D4BE42
Tritanopia (blue-blind)
#DBB1A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbe39;
/* rgb */ color: rgb(204, 190, 57);
/* oklch */ color: oklch(79.0% 0.148 103.2);
Tailwind
colors: {
  custom: {
    50: '#dfd178',
    500: '#ccbe39',
    950: '#000000',
  },
}
SCSS
$custom: #ccbe39;
$custom-light: #dfd178;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbe39",
  "rgb": {
    "r": 204,
    "g": 190,
    "b": 57
  },
  "hsl": {
    "h": 54.286,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79015,
    "c": 0.14768,
    "h": 103.2
  },
  "luminance": 0.4996
}

Semantic roles & 50–950 ramp

primary
#CCBE39
secondary
#9096D1
accent
#54E246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161409
muted
#84827B

Preview Lab

Preview with #CCBE39

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

Preview Lab → · Contrast checker → · Palette generator →

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