#CCB671#CCB671

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

Color values

HEX#CCB671
RGBrgb(204, 182, 113)
HSLhsl(45, 47%, 62%)
HSVhsv(45, 45%, 80%)
CMYKcmyk(0%, 10.8%, 44.6%, 20%)
CIE-LABlab(74.50, -1.51, 37.91)
CIE-LCHlch(74.50, 37.94, 92.29°)
OKLaboklab(77.97% -0.0038 0.092)
OKLCHoklch(77.97% 0.092 92.4)
XYZxyz(44.6117, 47.4873, 22.4356)
Luminance0.4749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB671 #7187CC
analogous
#CC8971 #CCB671 #B4CC71
triadic
#CCB671 #71CCB6 #B671CC
tetradic
#CCB671 #71CC89 #7187CC #CC71B4
square
#CCB671 #71CC89 #7187CC #CC71B4
split-complementary
#CCB671 #71B4CC #8971CC
monochromatic
#8F7933 #BC9F44 #CCB671 #DCCD9E #ECE4CB

Accessibility & contrast

On white

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

On black

10.50
#CCB671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB671
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB671#FFFFFF#000000##000000
##CCB6711.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb671;
/* rgb */ color: rgb(204, 182, 113);
/* oklch */ color: oklch(78.0% 0.092 92.4);
Tailwind
colors: {
  custom: {
    50: '#ddcb9b',
    500: '#ccb671',
    950: '#000000',
  },
}
SCSS
$custom: #ccb671;
$custom-light: #ddcb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb671",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 113
  },
  "hsl": {
    "h": 45.495,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.77971,
    "c": 0.09207,
    "h": 92.4
  },
  "luminance": 0.47486
}

Semantic roles & 50–950 ramp

primary
#CCB671
secondary
#BCC4DD
accent
#4EBA2B
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB671

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

Preview Lab → · Contrast checker → · Palette generator →

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