#CCBF45#CCBF45

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

Color values

HEX#CCBF45
RGBrgb(204, 191, 69)
HSLhsl(54, 57%, 54%)
HSVhsv(54, 66%, 80%)
CMYKcmyk(0%, 6.4%, 66.2%, 20%)
CIE-LABlab(76.39, -9.68, 60.73)
CIE-LCHlch(76.39, 61.50, 99.06°)
OKLaboklab(79.32% -0.0321 0.1368)
OKLCHoklch(79.32% 0.141 103.2)
XYZxyz(44.6086, 50.5304, 13.0327)
Luminance0.5053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF45 #4552CC
analogous
#CC7B45 #CCBF45 #95CC45
triadic
#CCBF45 #45CCBF #BF45CC
tetradic
#CCBF45 #45CC7B #4552CC #CC4595
square
#CCBF45 #45CC7B #4552CC #CC4595
split-complementary
#CCBF45 #4595CC #7B45CC
monochromatic
#766E20 #A69B2E #CCBF45 #D9D075 #E6E0A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBF45#FFFFFF#000000##000000
##CCBF451.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)
#D0B935
Deuteranopia (green-blind)
#D4BF4C
Tritanopia (blue-blind)
#DBB2A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbf45;
/* rgb */ color: rgb(204, 191, 69);
/* oklch */ color: oklch(79.3% 0.141 103.2);
Tailwind
colors: {
  custom: {
    50: '#dfd27f',
    500: '#ccbf45',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf45;
$custom-light: #dfd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf45",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 54.222,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79318,
    "c": 0.14054,
    "h": 103.2
  },
  "luminance": 0.50529
}

Semantic roles & 50–950 ramp

primary
#CCBF45
secondary
#363D7F
accent
#56E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCBF45

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

Preview Lab → · Contrast checker → · Palette generator →

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