#CCB65B#CCB65B

#CCB65B is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.7% C 0.114 H 96.0°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#CCB65B
RGBrgb(204, 182, 91)
HSLhsl(48, 53%, 58%)
HSVhsv(48, 55%, 80%)
CMYKcmyk(0%, 10.8%, 55.4%, 20%)
CIE-LABlab(74.22, -3.51, 48.53)
CIE-LCHlch(74.22, 48.66, 94.14°)
OKLaboklab(77.66% -0.0119 0.1137)
OKLCHoklch(77.66% 0.114 96)
XYZxyz(43.5197, 47.0505, 16.6848)
Luminance0.4705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB65B #5B71CC
analogous
#CC7E5B #CCB65B #A9CC5B
triadic
#CCB65B #5BCCB6 #B65BCC
tetradic
#CCB65B #5BCC7E #5B71CC #CC5BA9
square
#CCB65B #5BCC7E #5B71CC #CC5BA9
split-complementary
#CCB65B #5BA9CC #7E5BCC
monochromatic
#847229 #B29A37 #CCB65B #DBCB8A #E9E0B8

Accessibility & contrast

On white

2.02
#CCB65B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#CCB65B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB65B
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB65B#FFFFFF#000000##000000
##CCB65B1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B252
Deuteranopia (green-blind)
#CCBA5F
Tritanopia (blue-blind)
#DAAAA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb65b;
/* rgb */ color: rgb(204, 182, 91);
/* oklch */ color: oklch(77.7% 0.114 96.0);
Tailwind
colors: {
  custom: {
    50: '#decb8c',
    500: '#ccb65b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb65b;
$custom-light: #decb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb65b",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 91
  },
  "hsl": {
    "h": 48.319,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.77661,
    "c": 0.11434,
    "h": 96
  },
  "luminance": 0.47049
}

Semantic roles & 50–950 ramp

primary
#CCB65B
secondary
#ABB4D8
accent
#68DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB65B

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

Preview Lab → · Contrast checker → · Palette generator →

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