#CCB762#CCB762

#CCB762 is a light, moderate yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.108 H 95.8°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#CCB762
RGBrgb(204, 183, 98)
HSLhsl(48, 51%, 59%)
HSVhsv(48, 52%, 80%)
CMYKcmyk(0%, 10.3%, 52%, 20%)
CIE-LABlab(74.56, -3.45, 45.54)
CIE-LCHlch(74.56, 45.67, 94.34°)
OKLaboklab(77.96% -0.0109 0.1079)
OKLCHoklch(77.96% 0.108 95.8)
XYZxyz(44.0414, 47.5880, 18.4184)
Luminance0.4759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB762 #6277CC
analogous
#CC8262 #CCB762 #ACCC62
triadic
#CCB762 #62CCB7 #B762CC
tetradic
#CCB762 #62CC82 #6277CC #CC62AC
square
#CCB762 #62CC82 #6277CC #CC62AC
split-complementary
#CCB762 #62ACCC #8262CC
monochromatic
#88752C #B69D3B #CCB762 #DBCC90 #EAE1BE

Accessibility & contrast

On white

2.00
#CCB762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#CCB762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB762
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB762#FFFFFF#000000##000000
##CCB7621.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B35A
Deuteranopia (green-blind)
#CCBA66
Tritanopia (blue-blind)
#DAACA3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb762;
/* rgb */ color: rgb(204, 183, 98);
/* oklch */ color: oklch(78.0% 0.108 95.8);
Tailwind
colors: {
  custom: {
    50: '#decc91',
    500: '#ccb762',
    950: '#000000',
  },
}
SCSS
$custom: #ccb762;
$custom-light: #decc91;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb762",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 98
  },
  "hsl": {
    "h": 48.113,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.77958,
    "c": 0.10842,
    "h": 95.8
  },
  "luminance": 0.47586
}

Semantic roles & 50–950 ramp

primary
#CCB762
secondary
#B0B8DA
accent
#69DA4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB762

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

Preview Lab → · Contrast checker → · Palette generator →

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