#CCB673#CCB673

#CCB673 is a light, moderate yellow. Relative luminance 0.475; OKLCH L 78.0% C 0.090 H 91.9°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#CCB673
RGBrgb(204, 182, 115)
HSLhsl(45, 47%, 63%)
HSVhsv(45, 44%, 80%)
CMYKcmyk(0%, 10.8%, 43.6%, 20%)
CIE-LABlab(74.53, -1.31, 36.91)
CIE-LCHlch(74.53, 36.94, 92.03°)
OKLaboklab(78% -0.003 0.0899)
OKLCHoklch(78% 0.09 91.9)
XYZxyz(44.7255, 47.5328, 23.0352)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB673 #7389CC
analogous
#CC8A73 #CCB673 #B5CC73
triadic
#CCB673 #73CCB6 #B673CC
tetradic
#CCB673 #73CC8A #7389CC #CC73B5
square
#CCB673 #73CC8A #7389CC #CC73B5
split-complementary
#CCB673 #73B5CC #8A73CC
monochromatic
#907934 #BC9F46 #CCB673 #DCCDA0 #EDE5CD

Accessibility & contrast

On white

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

On black

10.51
#CCB673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB673
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB673#FFFFFF#000000##000000
##CCB6731.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B46E
Deuteranopia (green-blind)
#C9BA75
Tritanopia (blue-blind)
#D9ACA5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb673;
/* rgb */ color: rgb(204, 182, 115);
/* oklch */ color: oklch(78.0% 0.090 91.9);
Tailwind
colors: {
  custom: {
    50: '#ddcb9c',
    500: '#ccb673',
    950: '#000000',
  },
}
SCSS
$custom: #ccb673;
$custom-light: #ddcb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb673",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 115
  },
  "hsl": {
    "h": 45.169,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.78003,
    "c": 0.0899,
    "h": 91.9
  },
  "luminance": 0.47531
}

Semantic roles & 50–950 ramp

primary
#CCB673
secondary
#BDC5DE
accent
#4FBA2C
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB673

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

Preview Lab → · Contrast checker → · Palette generator →

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