#CCBF5F#CCBF5F

#CCBF5F is a light, moderate yellow. Relative luminance 0.509; OKLCH L 79.6% C 0.119 H 101.7°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#CCBF5F
RGBrgb(204, 191, 95)
HSLhsl(53, 52%, 59%)
HSVhsv(53, 53%, 80%)
CMYKcmyk(0%, 6.4%, 53.4%, 20%)
CIE-LABlab(76.63, -7.87, 49.44)
CIE-LCHlch(76.63, 50.06, 99.04°)
OKLaboklab(79.59% -0.024 0.1161)
OKLCHoklch(79.59% 0.119 101.7)
XYZxyz(45.5996, 50.9268, 18.2521)
Luminance0.5092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF5F #5F6CCC
analogous
#CC885F #CCBF5F #A2CC5F
triadic
#CCBF5F #5FCCBF #BF5FCC
tetradic
#CCBF5F #5FCC88 #5F6CCC #CC5FA2
square
#CCBF5F #5FCC88 #5F6CCC #CC5FA2
split-complementary
#CCBF5F #5FA2CC #885FCC
monochromatic
#867B2B #B4A639 #CCBF5F #DBD28D #EAE4BC

Accessibility & contrast

On white

1.88
#CCBF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#CCBF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF5F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF5F#FFFFFF#000000##000000
##CCBF5F1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA56
Deuteranopia (green-blind)
#D2C064
Tritanopia (blue-blind)
#DAB4A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf5f;
/* rgb */ color: rgb(204, 191, 95);
/* oklch */ color: oklch(79.6% 0.119 101.7);
Tailwind
colors: {
  custom: {
    50: '#ded28f',
    500: '#ccbf5f',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf5f;
$custom-light: #ded28f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf5f",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 95
  },
  "hsl": {
    "h": 52.844,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79587,
    "c": 0.11855,
    "h": 101.7
  },
  "luminance": 0.50925
}

Semantic roles & 50–950 ramp

primary
#CCBF5F
secondary
#424B8D
accent
#5EDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCBF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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