#CBC56C#CBC56C

#CBC56C is a light, moderate yellow. Relative luminance 0.537; OKLCH L 80.9% C 0.112 H 105.2°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CBC56C
RGBrgb(203, 197, 108)
HSLhsl(56, 48%, 61%)
HSVhsv(56, 47%, 80%)
CMYKcmyk(0%, 3%, 46.8%, 20.4%)
CIE-LABlab(78.29, -10.21, 45.11)
CIE-LCHlch(78.29, 46.25, 102.75°)
OKLaboklab(80.93% -0.0293 0.1078)
OKLCHoklch(80.93% 0.112 105.2)
XYZxyz(47.3027, 53.7130, 22.0603)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC56C #6C72CB
analogous
#CB956C #CBC56C #A1CB6C
triadic
#CBC56C #6CCBC5 #C56CCB
tetradic
#CBC56C #6CCB95 #6C72CB #CB6CA1
square
#CBC56C #6CCB95 #6C72CB #CB6CA1
split-complementary
#CBC56C #6CA1CB #956CCB
monochromatic
#8B8631 #B9B141 #CBC56C #DBD799 #EBE9C6

Accessibility & contrast

On white

1.79
#CBC56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#CBC56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC56C
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC56C#FFFFFF#000000##000000
##CBC56C1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc56c;
/* rgb */ color: rgb(203, 197, 108);
/* oklch */ color: oklch(80.9% 0.112 105.2);
Tailwind
colors: {
  custom: {
    50: '#dcd698',
    500: '#cbc56c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc56c;
$custom-light: #dcd698;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc56c",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 108
  },
  "hsl": {
    "h": 56.211,
    "s": 47.739,
    "l": 60.98
  },
  "oklch": {
    "l": 0.80933,
    "c": 0.11168,
    "h": 105.2
  },
  "luminance": 0.53712
}

Semantic roles & 50–950 ramp

primary
#CBC56C
secondary
#494E92
accent
#34BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC56C

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

Preview Lab → · Contrast checker → · Palette generator →

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