#CCBF4F#CCBF4F

#CCBF4F is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.4% C 0.133 H 102.7°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#CCBF4F
RGBrgb(204, 191, 79)
HSLhsl(54, 55%, 55%)
HSVhsv(54, 61%, 80%)
CMYKcmyk(0%, 6.4%, 61.3%, 20%)
CIE-LABlab(76.48, -9.06, 56.59)
CIE-LCHlch(76.48, 57.31, 99.10°)
OKLaboklab(79.41% -0.0292 0.1295)
OKLCHoklch(79.41% 0.133 102.7)
XYZxyz(44.9456, 50.6652, 14.8075)
Luminance0.5066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF4F #4F5CCC
analogous
#CC804F #CCBF4F #9ACC4F
triadic
#CCBF4F #4FCCBF #BF4FCC
tetradic
#CCBF4F #4FCC80 #4F5CCC #CC4F9A
square
#CCBF4F #4FCC80 #4F5CCC #CC4F9A
split-complementary
#CCBF4F #4F9ACC #804FCC
monochromatic
#7D7324 #AC9F32 #CCBF4F #DAD07E #E7E2AE

Accessibility & contrast

On white

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

On black

11.13
#CCBF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF4F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF4F#FFFFFF#000000##000000
##CCBF4F1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB942
Deuteranopia (green-blind)
#D3BF55
Tritanopia (blue-blind)
#DAB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf4f;
/* rgb */ color: rgb(204, 191, 79);
/* oklch */ color: oklch(79.4% 0.133 102.7);
Tailwind
colors: {
  custom: {
    50: '#ded285',
    500: '#ccbf4f',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf4f;
$custom-light: #ded285;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf4f",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 53.76,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79409,
    "c": 0.13278,
    "h": 102.7
  },
  "luminance": 0.50663
}

Semantic roles & 50–950 ramp

primary
#CCBF4F
secondary
#3B4284
accent
#59DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCBF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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