#CCB65A#CCB65A

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

Color values

HEX#CCB65A
RGBrgb(204, 182, 90)
HSLhsl(48, 53%, 58%)
HSVhsv(48, 56%, 80%)
CMYKcmyk(0%, 10.8%, 55.9%, 20%)
CIE-LABlab(74.21, -3.59, 49.00)
CIE-LCHlch(74.21, 49.13, 94.19°)
OKLaboklab(77.65% -0.0122 0.1146)
OKLCHoklch(77.65% 0.115 96.1)
XYZxyz(43.4769, 47.0334, 16.4591)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB65A #5A70CC
analogous
#CC7D5A #CCB65A #A9CC5A
triadic
#CCB65A #5ACCB6 #B65ACC
tetradic
#CCB65A #5ACC7D #5A70CC #CC5AA9
square
#CCB65A #5ACC7D #5A70CC #CC5AA9
split-complementary
#CCB65A #5AA9CC #7D5ACC
monochromatic
#837229 #B29A37 #CCB65A #DACB89 #E9DFB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB65A#FFFFFF#000000##000000
##CCB65A1.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)
#C6B251
Deuteranopia (green-blind)
#CCBA5E
Tritanopia (blue-blind)
#DAAAA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb65a;
/* rgb */ color: rgb(204, 182, 90);
/* oklch */ color: oklch(77.6% 0.115 96.1);
Tailwind
colors: {
  custom: {
    50: '#decb8b',
    500: '#ccb65a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb65a;
$custom-light: #decb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb65a",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 90
  },
  "hsl": {
    "h": 48.421,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.77649,
    "c": 0.11527,
    "h": 96.1
  },
  "luminance": 0.47031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB65A

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

Preview Lab → · Contrast checker → · Palette generator →

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