#CCBF47#CCBF47

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

Color values

HEX#CCBF47
RGBrgb(204, 191, 71)
HSLhsl(54, 57%, 54%)
HSVhsv(54, 65%, 80%)
CMYKcmyk(0%, 6.4%, 65.2%, 20%)
CIE-LABlab(76.41, -9.57, 59.93)
CIE-LCHlch(76.41, 60.69, 99.07°)
OKLaboklab(79.33% -0.0315 0.1354)
OKLCHoklch(79.33% 0.139 103.1)
XYZxyz(44.6717, 50.5557, 13.3652)
Luminance0.5055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF47 #4754CC
analogous
#CC7D47 #CCBF47 #97CC47
triadic
#CCBF47 #47CCBF #BF47CC
tetradic
#CCBF47 #47CC7D #4754CC #CC4797
square
#CCBF47 #47CC7D #4754CC #CC4797
split-complementary
#CCBF47 #4797CC #7D47CC
monochromatic
#776F21 #A79C2E #CCBF47 #D9D077 #E7E0A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBF47#FFFFFF#000000##000000
##CCBF471.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)
#D0B938
Deuteranopia (green-blind)
#D4BF4E
Tritanopia (blue-blind)
#DBB2A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbf47;
/* rgb */ color: rgb(204, 191, 71);
/* oklch */ color: oklch(79.3% 0.139 103.1);
Tailwind
colors: {
  custom: {
    50: '#dfd280',
    500: '#ccbf47',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf47;
$custom-light: #dfd280;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf47",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 71
  },
  "hsl": {
    "h": 54.135,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79335,
    "c": 0.13906,
    "h": 103.1
  },
  "luminance": 0.50554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBF47

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

Preview Lab → · Contrast checker → · Palette generator →

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