#CCB362#CCB362

#CCB362 is a light, moderate yellow. Relative luminance 0.460; OKLCH L 77.1% C 0.105 H 92.6°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#CCB362
RGBrgb(204, 179, 98)
HSLhsl(46, 51%, 59%)
HSVhsv(46, 52%, 80%)
CMYKcmyk(0%, 12.3%, 52%, 20%)
CIE-LABlab(73.52, -1.35, 44.28)
CIE-LCHlch(73.52, 44.30, 91.75°)
OKLaboklab(77.13% -0.0048 0.1051)
OKLCHoklch(77.13% 0.105 92.6)
XYZxyz(43.2281, 45.9614, 18.1473)
Luminance0.4596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB362 #627BCC
analogous
#CC7E62 #CCB362 #B0CC62
triadic
#CCB362 #62CCB3 #B362CC
tetradic
#CCB362 #62CC7E #627BCC #CC62B0
square
#CCB362 #62CC7E #627BCC #CC62B0
split-complementary
#CCB362 #62B0CC #7E62CC
monochromatic
#88722C #B6993B #CCB362 #DBC990 #EAE0BE

Accessibility & contrast

On white

2.06
#CCB362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#CCB362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB362
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB362#FFFFFF#000000##000000
##CCB3621.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B05B
Deuteranopia (green-blind)
#C9B865
Tritanopia (blue-blind)
#DAA8A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb362;
/* rgb */ color: rgb(204, 179, 98);
/* oklch */ color: oklch(77.1% 0.105 92.6);
Tailwind
colors: {
  custom: {
    50: '#dec990',
    500: '#ccb362',
    950: '#000000',
  },
}
SCSS
$custom: #ccb362;
$custom-light: #dec990;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb362",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 98
  },
  "hsl": {
    "h": 45.849,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.77133,
    "c": 0.10523,
    "h": 92.6
  },
  "luminance": 0.45959
}

Semantic roles & 50–950 ramp

primary
#CCB362
secondary
#B0BADA
accent
#6FDA4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB362

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

Preview Lab → · Contrast checker → · Palette generator →

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