#CBC846#CBC846

#CBC846 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.148 H 108.0°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#CBC846
RGBrgb(203, 200, 70)
HSLhsl(59, 56%, 54%)
HSVhsv(59, 66%, 80%)
CMYKcmyk(0%, 1.5%, 65.5%, 20.4%)
CIE-LABlab(78.72, -14.62, 62.71)
CIE-LCHlch(78.72, 64.39, 103.12°)
OKLaboklab(81.15% -0.0459 0.1412)
OKLCHoklch(81.15% 0.148 108)
XYZxyz(46.3900, 54.4487, 13.8592)
Luminance0.5445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC846 #4649CB
analogous
#CB8546 #CBC846 #8BCB46
triadic
#CBC846 #46CBC8 #C846CB
tetradic
#CBC846 #46CB85 #4649CB #CB468B
square
#CBC846 #46CB85 #4649CB #CB468B
split-complementary
#CBC846 #468BCB #8546CB
monochromatic
#767421 #A5A32E #CBC846 #D8D676 #E6E4A6

Accessibility & contrast

On white

1.77
#CBC846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#CBC846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC846
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC846#FFFFFF#000000##000000
##CBC8461.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C034
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#D9BBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc846;
/* rgb */ color: rgb(203, 200, 70);
/* oklch */ color: oklch(81.2% 0.148 108.0);
Tailwind
colors: {
  custom: {
    50: '#ded880',
    500: '#cbc846',
    950: '#000000',
  },
}
SCSS
$custom: #cbc846;
$custom-light: #ded880;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc846",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 58.647,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81154,
    "c": 0.14844,
    "h": 108
  },
  "luminance": 0.54447
}

Semantic roles & 50–950 ramp

primary
#CBC846
secondary
#37397E
accent
#4CDF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC846

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

Preview Lab → · Contrast checker → · Palette generator →

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