#CBC56D#CBC56D

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

Color values

HEX#CBC56D
RGBrgb(203, 197, 109)
HSLhsl(56, 47%, 61%)
HSVhsv(56, 46%, 80%)
CMYKcmyk(0%, 3%, 46.3%, 20.4%)
CIE-LABlab(78.31, -10.11, 44.63)
CIE-LCHlch(78.31, 45.76, 102.76°)
OKLaboklab(80.95% -0.0289 0.1068)
OKLCHoklch(80.95% 0.111 105.2)
XYZxyz(47.3562, 53.7344, 22.3422)
Luminance0.5373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC56D #6D73CB
analogous
#CB966D #CBC56D #A2CB6D
triadic
#CBC56D #6DCBC5 #C56DCB
tetradic
#CBC56D #6DCB96 #6D73CB #CB6DA2
square
#CBC56D #6DCB96 #6D73CB #CB6DA2
split-complementary
#CBC56D #6DA2CB #966DCB
monochromatic
#8C8632 #B9B142 #CBC56D #DBD79A #EBE9C7

Accessibility & contrast

On white

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

On black

11.75
#CBC56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC56D
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC56D#FFFFFF#000000##000000
##CBC56D1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc56d;
/* rgb */ color: rgb(203, 197, 109);
/* oklch */ color: oklch(80.9% 0.111 105.2);
Tailwind
colors: {
  custom: {
    50: '#dcd698',
    500: '#cbc56d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc56d;
$custom-light: #dcd698;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc56d",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 109
  },
  "hsl": {
    "h": 56.17,
    "s": 47.475,
    "l": 61.176
  },
  "oklch": {
    "l": 0.80947,
    "c": 0.11064,
    "h": 105.2
  },
  "luminance": 0.53733
}

Semantic roles & 50–950 ramp

primary
#CBC56D
secondary
#4A4E93
accent
#34BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC56D

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

Preview Lab → · Contrast checker → · Palette generator →

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