#CCBF46#CCBF46

#CCBF46 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.3% C 0.140 H 103.2°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#CCBF46
RGBrgb(204, 191, 70)
HSLhsl(54, 57%, 54%)
HSVhsv(54, 66%, 80%)
CMYKcmyk(0%, 6.4%, 65.7%, 20%)
CIE-LABlab(76.40, -9.63, 60.33)
CIE-LCHlch(76.40, 61.10, 99.06°)
OKLaboklab(79.33% -0.0318 0.1361)
OKLCHoklch(79.33% 0.14 103.2)
XYZxyz(44.6399, 50.5429, 13.1975)
Luminance0.5054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF46 #4653CC
analogous
#CC7C46 #CCBF46 #96CC46
triadic
#CCBF46 #46CCBF #BF46CC
tetradic
#CCBF46 #46CC7C #4653CC #CC4696
square
#CCBF46 #46CC7C #4653CC #CC4696
split-complementary
#CCBF46 #4696CC #7C46CC
monochromatic
#776E21 #A79B2E #CCBF46 #D9D076 #E6E0A6

Accessibility & contrast

On white

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

On black

11.11
#CCBF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF46
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF46#FFFFFF#000000##000000
##CCBF461.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B936
Deuteranopia (green-blind)
#D4BF4D
Tritanopia (blue-blind)
#DBB2A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbf46;
/* rgb */ color: rgb(204, 191, 70);
/* oklch */ color: oklch(79.3% 0.140 103.2);
Tailwind
colors: {
  custom: {
    50: '#dfd280',
    500: '#ccbf46',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf46;
$custom-light: #dfd280;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf46",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 70
  },
  "hsl": {
    "h": 54.179,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79326,
    "c": 0.1398,
    "h": 103.2
  },
  "luminance": 0.50541
}

Semantic roles & 50–950 ramp

primary
#CCBF46
secondary
#373E7F
accent
#57E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCBF46

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

Preview Lab → · Contrast checker → · Palette generator →

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