#CBCA56#CBCA56

#CBCA56 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.138 H 108.6°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CBCA56
RGBrgb(203, 202, 86)
HSLhsl(59, 53%, 57%)
HSVhsv(59, 58%, 80%)
CMYKcmyk(0%, 0.5%, 57.6%, 20.4%)
CIE-LABlab(79.39, -14.58, 56.69)
CIE-LCHlch(79.39, 58.54, 104.42°)
OKLaboklab(81.73% -0.0441 0.1307)
OKLCHoklch(81.73% 0.138 108.6)
XYZxyz(47.4302, 55.6108, 17.0378)
Luminance0.5561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA56 #5657CB
analogous
#CB9056 #CBCA56 #92CB56
triadic
#CBCA56 #56CBCA #CA56CB
tetradic
#CBCA56 #56CB90 #5657CB #CB5692
square
#CBCA56 #56CB90 #5657CB #CB5692
split-complementary
#CBCA56 #5692CB #9056CB
monochromatic
#7F7F27 #AEAD36 #CBCA56 #D9D985 #E8E7B4

Accessibility & contrast

On white

1.73
#CBCA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#CBCA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA56
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA56#FFFFFF#000000##000000
##CBCA561.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C249
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#D8BEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbca56;
/* rgb */ color: rgb(203, 202, 86);
/* oklch */ color: oklch(81.7% 0.138 108.6);
Tailwind
colors: {
  custom: {
    50: '#ddd98a',
    500: '#cbca56',
    950: '#000000',
  },
}
SCSS
$custom: #cbca56;
$custom-light: #ddd98a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca56",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 59.487,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8173,
    "c": 0.13793,
    "h": 108.6
  },
  "luminance": 0.55609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBCA56

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

Preview Lab → · Contrast checker → · Palette generator →

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