#CBC17C#CBC17C

#CBC17C is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.090 H 101.0°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CBC17C
RGBrgb(203, 193, 124)
HSLhsl(52, 43%, 64%)
HSVhsv(52, 39%, 80%)
CMYKcmyk(0%, 4.9%, 38.9%, 20.4%)
CIE-LABlab(77.46, -6.49, 36.00)
CIE-LCHlch(77.46, 36.58, 100.23°)
OKLaboklab(80.34% -0.0172 0.0882)
OKLCHoklch(80.34% 0.09 101)
XYZxyz(47.3375, 52.2930, 26.6648)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC17C #7C86CB
analogous
#CB9A7C #CBC17C #AECB7C
triadic
#CBC17C #7CCBC1 #C17CCB
tetradic
#CBC17C #7CCB9A #7C86CB #CB7CAE
square
#CBC17C #7CCB9A #7C86CB #CB7CAE
split-complementary
#CBC17C #7CAECB #9A7CCB
monochromatic
#92873A #BAAC50 #CBC17C #DCD6A8 #EEEAD4

Accessibility & contrast

On white

1.83
#CBC17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CBC17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC17C
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC17C#FFFFFF#000000##000000
##CBC17C1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBD77
Deuteranopia (green-blind)
#D0C17F
Tritanopia (blue-blind)
#D6B8B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc17c;
/* rgb */ color: rgb(203, 193, 124);
/* oklch */ color: oklch(80.3% 0.090 101.0);
Tailwind
colors: {
  custom: {
    50: '#dcd3a3',
    500: '#cbc17c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc17c;
$custom-light: #dcd3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc17c",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 124
  },
  "hsl": {
    "h": 52.405,
    "s": 43.169,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8034,
    "c": 0.08988,
    "h": 101
  },
  "luminance": 0.52292
}

Semantic roles & 50–950 ramp

primary
#CBC17C
secondary
#525B99
accent
#40B62F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC17C

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

Preview Lab → · Contrast checker → · Palette generator →

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