#CBC645#CBC645

#CBC645 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.7% C 0.147 H 107.1°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CBC645
RGBrgb(203, 198, 69)
HSLhsl(58, 56%, 53%)
HSVhsv(58, 66%, 80%)
CMYKcmyk(0%, 2.5%, 66%, 20.4%)
CIE-LABlab(78.18, -13.67, 62.55)
CIE-LCHlch(78.18, 64.02, 102.33°)
OKLaboklab(80.72% -0.0433 0.1407)
OKLCHoklch(80.72% 0.147 107.1)
XYZxyz(45.8985, 53.5159, 13.5409)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC645 #454ACB
analogous
#CB8345 #CBC645 #8DCB45
triadic
#CBC645 #45CBC6 #C645CB
tetradic
#CBC645 #45CB83 #454ACB #CB458D
square
#CBC645 #45CB83 #454ACB #CB458D
split-complementary
#CBC645 #458DCB #8345CB
monochromatic
#757221 #A5A02E #CBC645 #D8D575 #E6E3A5

Accessibility & contrast

On white

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

On black

11.70
#CBC645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC645
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC645#FFFFFF#000000##000000
##CBC6451.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF33
Deuteranopia (green-blind)
#D9C44D
Tritanopia (blue-blind)
#D9B9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc645;
/* rgb */ color: rgb(203, 198, 69);
/* oklch */ color: oklch(80.7% 0.147 107.1);
Tailwind
colors: {
  custom: {
    50: '#ded780',
    500: '#cbc645',
    950: '#000000',
  },
}
SCSS
$custom: #cbc645;
$custom-light: #ded780;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc645",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 57.761,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80718,
    "c": 0.14719,
    "h": 107.1
  },
  "luminance": 0.53514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC645

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

Preview Lab → · Contrast checker → · Palette generator →

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