#CBC665#CBC665

#CBC665 is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.120 H 106.1°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CBC665
RGBrgb(203, 198, 101)
HSLhsl(57, 50%, 60%)
HSVhsv(57, 50%, 80%)
CMYKcmyk(0%, 2.5%, 50.2%, 20.4%)
CIE-LABlab(78.48, -11.36, 48.72)
CIE-LCHlch(78.48, 50.03, 103.12°)
OKLaboklab(81.05% -0.0333 0.1151)
OKLCHoklch(81.05% 0.12 106.1)
XYZxyz(47.1729, 54.0256, 20.2525)
Luminance0.5402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC665 #656ACB
analogous
#CB9365 #CBC665 #9DCB65
triadic
#CBC665 #65CBC6 #C665CB
tetradic
#CBC665 #65CB93 #656ACB #CB659D
square
#CBC665 #65CB93 #656ACB #CB659D
split-complementary
#CBC665 #659DCB #9365CB
monochromatic
#88832E #B6B03D #CBC665 #DAD793 #EAE8C1

Accessibility & contrast

On white

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

On black

11.80
#CBC665 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC665
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC665#FFFFFF#000000##000000
##CBC6651.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05C
Deuteranopia (green-blind)
#D6C46A
Tritanopia (blue-blind)
#D8BBB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc665;
/* rgb */ color: rgb(203, 198, 101);
/* oklch */ color: oklch(81.1% 0.120 106.1);
Tailwind
colors: {
  custom: {
    50: '#ddd793',
    500: '#cbc665',
    950: '#000000',
  },
}
SCSS
$custom: #cbc665;
$custom-light: #ddd793;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc665",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 101
  },
  "hsl": {
    "h": 57.059,
    "s": 49.515,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81051,
    "c": 0.11986,
    "h": 106.1
  },
  "luminance": 0.54024
}

Semantic roles & 50–950 ramp

primary
#CBC665
secondary
#45498F
accent
#56D94F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC665

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

Preview Lab → · Contrast checker → · Palette generator →

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