#CBC345#CBC345

#CBC345 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.1% C 0.144 H 105.7°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#CBC345
RGBrgb(203, 195, 69)
HSLhsl(56, 56%, 53%)
HSVhsv(56, 66%, 80%)
CMYKcmyk(0%, 3.9%, 66%, 20.4%)
CIE-LABlab(77.38, -12.15, 61.72)
CIE-LCHlch(77.38, 62.91, 101.14°)
OKLaboklab(80.08% -0.039 0.1389)
OKLCHoklch(80.08% 0.144 105.7)
XYZxyz(45.2196, 52.1580, 13.3146)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC345 #454DCB
analogous
#CB8045 #CBC345 #90CB45
triadic
#CBC345 #45CBC3 #C345CB
tetradic
#CBC345 #45CB80 #454DCB #CB4590
square
#CBC345 #45CB80 #454DCB #CB4590
split-complementary
#CBC345 #4590CB #8045CB
monochromatic
#757021 #A59E2E #CBC345 #D8D275 #E6E2A5

Accessibility & contrast

On white

1.84
#CBC345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#CBC345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC345
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC345#FFFFFF#000000##000000
##CBC3451.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC34
Deuteranopia (green-blind)
#D6C24D
Tritanopia (blue-blind)
#D9B6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc345;
/* rgb */ color: rgb(203, 195, 69);
/* oklch */ color: oklch(80.1% 0.144 105.7);
Tailwind
colors: {
  custom: {
    50: '#ded47f',
    500: '#cbc345',
    950: '#000000',
  },
}
SCSS
$custom: #cbc345;
$custom-light: #ded47f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc345",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 56.418,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80078,
    "c": 0.14431,
    "h": 105.7
  },
  "luminance": 0.52156
}

Semantic roles & 50–950 ramp

primary
#CBC345
secondary
#373B7E
accent
#51E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC345

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

Preview Lab → · Contrast checker → · Palette generator →

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