#CCBF49#CCBF49

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

Color values

HEX#CCBF49
RGBrgb(204, 191, 73)
HSLhsl(54, 56%, 54%)
HSVhsv(54, 64%, 80%)
CMYKcmyk(0%, 6.4%, 64.2%, 20%)
CIE-LABlab(76.42, -9.45, 59.11)
CIE-LCHlch(76.42, 59.86, 99.08°)
OKLaboklab(79.35% -0.031 0.134)
OKLCHoklch(79.35% 0.138 103)
XYZxyz(44.7370, 50.5818, 13.7088)
Luminance0.5058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF49 #4956CC
analogous
#CC7E49 #CCBF49 #98CC49
triadic
#CCBF49 #49CCBF #BF49CC
tetradic
#CCBF49 #49CC7E #4956CC #CC4998
square
#CCBF49 #49CC7E #4956CC #CC4998
split-complementary
#CCBF49 #4998CC #7E49CC
monochromatic
#797022 #A99D2F #CCBF49 #D9D079 #E7E1A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBF49#FFFFFF#000000##000000
##CCBF491.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)
#CFB93A
Deuteranopia (green-blind)
#D4BF50
Tritanopia (blue-blind)
#DBB2A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbf49;
/* rgb */ color: rgb(204, 191, 73);
/* oklch */ color: oklch(79.4% 0.138 103.0);
Tailwind
colors: {
  custom: {
    50: '#dfd281',
    500: '#ccbf49',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf49;
$custom-light: #dfd281;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf49",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 73
  },
  "hsl": {
    "h": 54.046,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79353,
    "c": 0.13755,
    "h": 103
  },
  "luminance": 0.5058
}

Semantic roles & 50–950 ramp

primary
#CCBF49
secondary
#383F81
accent
#57E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCBF49

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

Preview Lab → · Contrast checker → · Palette generator →

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