#CBC845#CBC845

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

Color values

HEX#CBC845
RGBrgb(203, 200, 69)
HSLhsl(59, 56%, 53%)
HSVhsv(59, 66%, 80%)
CMYKcmyk(0%, 1.5%, 66%, 20.4%)
CIE-LABlab(78.72, -14.67, 63.10)
CIE-LCHlch(78.72, 64.78, 103.09°)
OKLaboklab(81.15% -0.0462 0.1418)
OKLCHoklch(81.15% 0.149 108)
XYZxyz(46.3587, 54.4362, 13.6943)
Luminance0.5444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC845 #4548CB
analogous
#CB8545 #CBC845 #8BCB45
triadic
#CBC845 #45CBC8 #C845CB
tetradic
#CBC845 #45CB85 #4548CB #CB458B
square
#CBC845 #45CB85 #4548CB #CB458B
split-complementary
#CBC845 #458BCB #8545CB
monochromatic
#757321 #A5A22E #CBC845 #D8D675 #E6E4A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC845#FFFFFF#000000##000000
##CBC8451.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)
#D8C032
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#D9BBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc845;
/* rgb */ color: rgb(203, 200, 69);
/* oklch */ color: oklch(81.1% 0.149 108.0);
Tailwind
colors: {
  custom: {
    50: '#ded880',
    500: '#cbc845',
    950: '#000000',
  },
}
SCSS
$custom: #cbc845;
$custom-light: #ded880;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc845",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 58.657,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81146,
    "c": 0.14915,
    "h": 108
  },
  "luminance": 0.54435
}

Semantic roles & 50–950 ramp

primary
#CBC845
secondary
#37387E
accent
#4CE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC845

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

Preview Lab → · Contrast checker → · Palette generator →

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