#CBC56B#CBC56B

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

Color values

HEX#CBC56B
RGBrgb(203, 197, 107)
HSLhsl(56, 48%, 61%)
HSVhsv(56, 47%, 80%)
CMYKcmyk(0%, 3%, 47.3%, 20.4%)
CIE-LABlab(78.28, -10.30, 45.58)
CIE-LCHlch(78.28, 46.73, 102.73°)
OKLaboklab(80.92% -0.0297 0.1088)
OKLCHoklch(80.92% 0.113 105.3)
XYZxyz(47.2498, 53.6919, 21.7817)
Luminance0.5369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC56B #6B71CB
analogous
#CB956B #CBC56B #A1CB6B
triadic
#CBC56B #6BCBC5 #C56BCB
tetradic
#CBC56B #6BCB95 #6B71CB #CB6BA1
square
#CBC56B #6BCB95 #6B71CB #CB6BA1
split-complementary
#CBC56B #6BA1CB #956BCB
monochromatic
#8B8531 #B8B141 #CBC56B #DBD798 #EBE8C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC56B#FFFFFF#000000##000000
##CBC56B1.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)
#D3BF63
Deuteranopia (green-blind)
#D5C46F
Tritanopia (blue-blind)
#D7BBB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc56b;
/* rgb */ color: rgb(203, 197, 107);
/* oklch */ color: oklch(80.9% 0.113 105.3);
Tailwind
colors: {
  custom: {
    50: '#ddd697',
    500: '#cbc56b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc56b;
$custom-light: #ddd697;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc56b",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 107
  },
  "hsl": {
    "h": 56.25,
    "s": 48,
    "l": 60.784
  },
  "oklch": {
    "l": 0.80919,
    "c": 0.11272,
    "h": 105.3
  },
  "luminance": 0.53691
}

Semantic roles & 50–950 ramp

primary
#CBC56B
secondary
#484D92
accent
#33BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC56B

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

Preview Lab → · Contrast checker → · Palette generator →

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