#CCBF5E#CCBF5E

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

Color values

HEX#CCBF5E
RGBrgb(204, 191, 94)
HSLhsl(53, 52%, 58%)
HSVhsv(53, 54%, 80%)
CMYKcmyk(0%, 6.4%, 53.9%, 20%)
CIE-LABlab(76.62, -7.95, 49.90)
CIE-LCHlch(76.62, 50.53, 99.05°)
OKLaboklab(79.57% -0.0243 0.117)
OKLCHoklch(79.57% 0.12 101.8)
XYZxyz(45.5545, 50.9088, 18.0143)
Luminance0.5091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF5E #5E6BCC
analogous
#CC885E #CCBF5E #A2CC5E
triadic
#CCBF5E #5ECCBF #BF5ECC
tetradic
#CCBF5E #5ECC88 #5E6BCC #CC5EA2
square
#CCBF5E #5ECC88 #5E6BCC #CC5EA2
split-complementary
#CCBF5E #5EA2CC #885ECC
monochromatic
#857B2A #B4A539 #CCBF5E #DBD18C #E9E4BB

Accessibility & contrast

On white

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

On black

11.18
#CCBF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF5E
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF5E#FFFFFF#000000##000000
##CCBF5E1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbf5e;
/* rgb */ color: rgb(204, 191, 94);
/* oklch */ color: oklch(79.6% 0.119 101.8);
Tailwind
colors: {
  custom: {
    50: '#ded28e',
    500: '#ccbf5e',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf5e;
$custom-light: #ded28e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf5e",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 94
  },
  "hsl": {
    "h": 52.909,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79574,
    "c": 0.1195,
    "h": 101.8
  },
  "luminance": 0.50907
}

Semantic roles & 50–950 ramp

primary
#CCBF5E
secondary
#424B8D
accent
#5DDB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCBF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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