#CCBB61#CCBB61

#CCBB61 is a light, moderate yellow. Relative luminance 0.492; OKLCH L 78.8% C 0.113 H 98.8°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CCBB61
RGBrgb(204, 187, 97)
HSLhsl(50, 51%, 59%)
HSVhsv(50, 52%, 80%)
CMYKcmyk(0%, 8.3%, 52.5%, 20%)
CIE-LABlab(75.60, -5.63, 47.26)
CIE-LCHlch(75.60, 47.59, 96.79°)
OKLaboklab(78.77% -0.0173 0.1116)
OKLCHoklch(78.77% 0.113 98.8)
XYZxyz(44.8313, 49.2428, 18.4503)
Luminance0.4924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB61 #6172CC
analogous
#CC8661 #CCBB61 #A8CC61
triadic
#CCBB61 #61CCBB #BB61CC
tetradic
#CCBB61 #61CC86 #6172CC #CC61A8
square
#CCBB61 #61CC86 #6172CC #CC61A8
split-complementary
#CCBB61 #61A8CC #8661CC
monochromatic
#87782C #B5A23B #CCBB61 #DBCF8F #EAE3BE

Accessibility & contrast

On white

1.94
#CCBB61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CCBB61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB61
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB61#FFFFFF#000000##000000
##CCBB611.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB759
Deuteranopia (green-blind)
#CFBD65
Tritanopia (blue-blind)
#DAB0A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb61;
/* rgb */ color: rgb(204, 187, 97);
/* oklch */ color: oklch(78.8% 0.113 98.8);
Tailwind
colors: {
  custom: {
    50: '#decf90',
    500: '#ccbb61',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb61;
$custom-light: #decf90;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb61",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 97
  },
  "hsl": {
    "h": 50.467,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.78775,
    "c": 0.1129,
    "h": 98.8
  },
  "luminance": 0.49241
}

Semantic roles & 50–950 ramp

primary
#CCBB61
secondary
#AFB6D9
accent
#64DB4D
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCBB61

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

Preview Lab → · Contrast checker → · Palette generator →

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