#CBC956#CBC956

#CBC956 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.137 H 108.2°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CBC956
RGBrgb(203, 201, 86)
HSLhsl(59, 53%, 57%)
HSVhsv(59, 58%, 80%)
CMYKcmyk(0%, 1%, 57.6%, 20.4%)
CIE-LABlab(79.12, -14.08, 56.40)
CIE-LCHlch(79.12, 58.13, 104.02°)
OKLaboklab(81.52% -0.0426 0.1301)
OKLCHoklch(81.52% 0.137 108.2)
XYZxyz(47.1964, 55.1430, 16.9598)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC956 #5658CB
analogous
#CB8F56 #CBC956 #93CB56
triadic
#CBC956 #56CBC9 #C956CB
tetradic
#CBC956 #56CB8F #5658CB #CB5693
square
#CBC956 #56CB8F #5658CB #CB5693
split-complementary
#CBC956 #5693CB #8F56CB
monochromatic
#7F7E27 #AEAC36 #CBC956 #D9D885 #E8E7B4

Accessibility & contrast

On white

1.75
#CBC956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CBC956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC956
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC956#FFFFFF#000000##000000
##CBC9561.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C249
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#D8BDB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc956;
/* rgb */ color: rgb(203, 201, 86);
/* oklch */ color: oklch(81.5% 0.137 108.2);
Tailwind
colors: {
  custom: {
    50: '#ddd98a',
    500: '#cbc956',
    950: '#000000',
  },
}
SCSS
$custom: #cbc956;
$custom-light: #ddd98a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc956",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 58.974,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81516,
    "c": 0.13687,
    "h": 108.2
  },
  "luminance": 0.55142
}

Semantic roles & 50–950 ramp

primary
#CBC956
secondary
#3E3F87
accent
#4EDC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC956

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

Preview Lab → · Contrast checker → · Palette generator →

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