#CCB65F#CCB65F

#CCB65F is a light, moderate yellow. Relative luminance 0.471; OKLCH L 77.7% C 0.111 H 95.5°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#CCB65F
RGBrgb(204, 182, 95)
HSLhsl(48, 52%, 59%)
HSVhsv(48, 53%, 80%)
CMYKcmyk(0%, 10.8%, 53.4%, 20%)
CIE-LABlab(74.27, -3.18, 46.65)
CIE-LCHlch(74.27, 46.76, 93.90°)
OKLaboklab(77.71% -0.0105 0.11)
OKLCHoklch(77.71% 0.111 95.5)
XYZxyz(43.6969, 47.1214, 17.6179)
Luminance0.4712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB65F #5F75CC
analogous
#CC7F5F #CCB65F #ABCC5F
triadic
#CCB65F #5FCCB6 #B65FCC
tetradic
#CCB65F #5FCC7F #5F75CC #CC5FAB
square
#CCB65F #5FCC7F #5F75CC #CC5FAB
split-complementary
#CCB65F #5FABCC #7F5FCC
monochromatic
#86742B #B49C39 #CCB65F #DBCB8D #EAE0BC

Accessibility & contrast

On white

2.01
#CCB65F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#CCB65F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB65F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB65F#FFFFFF#000000##000000
##CCB65F1.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B357
Deuteranopia (green-blind)
#CBBA63
Tritanopia (blue-blind)
#DAABA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb65f;
/* rgb */ color: rgb(204, 182, 95);
/* oklch */ color: oklch(77.7% 0.111 95.5);
Tailwind
colors: {
  custom: {
    50: '#decb8f',
    500: '#ccb65f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb65f;
$custom-light: #decb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb65f",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 95
  },
  "hsl": {
    "h": 47.89,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.77711,
    "c": 0.11053,
    "h": 95.5
  },
  "luminance": 0.47119
}

Semantic roles & 50–950 ramp

primary
#CCB65F
secondary
#AEB7D9
accent
#69DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB65F

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

Preview Lab → · Contrast checker → · Palette generator →

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