#CBC667#CBC667

#CBC667 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.118 H 106.0°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CBC667
RGBrgb(203, 198, 103)
HSLhsl(57, 49%, 60%)
HSVhsv(57, 49%, 80%)
CMYKcmyk(0%, 2.5%, 49.3%, 20.4%)
CIE-LABlab(78.50, -11.18, 47.79)
CIE-LCHlch(78.50, 49.08, 103.16°)
OKLaboklab(81.08% -0.0326 0.1133)
OKLCHoklch(81.08% 0.118 106)
XYZxyz(47.2720, 54.0653, 20.7748)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC667 #676CCB
analogous
#CB9467 #CBC667 #9ECB67
triadic
#CBC667 #67CBC6 #C667CB
tetradic
#CBC667 #67CB94 #676CCB #CB679E
square
#CBC667 #67CB94 #676CCB #CB679E
split-complementary
#CBC667 #679ECB #9467CB
monochromatic
#89842F #B6B03E #CBC667 #DBD795 #EAE8C2

Accessibility & contrast

On white

1.78
#CBC667 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#CBC667 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC667
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC667#FFFFFF#000000##000000
##CBC6671.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05F
Deuteranopia (green-blind)
#D6C46C
Tritanopia (blue-blind)
#D7BBB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc667;
/* rgb */ color: rgb(203, 198, 103);
/* oklch */ color: oklch(81.1% 0.118 106.0);
Tailwind
colors: {
  custom: {
    50: '#ddd795',
    500: '#cbc667',
    950: '#000000',
  },
}
SCSS
$custom: #cbc667;
$custom-light: #ddd795;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc667",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 103
  },
  "hsl": {
    "h": 57,
    "s": 49.02,
    "l": 60
  },
  "oklch": {
    "l": 0.81077,
    "c": 0.11786,
    "h": 106
  },
  "luminance": 0.54064
}

Semantic roles & 50–950 ramp

primary
#CBC667
secondary
#464A90
accent
#56D94F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC667

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

Preview Lab → · Contrast checker → · Palette generator →

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