#CBC646#CBC646

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

Color values

HEX#CBC646
RGBrgb(203, 198, 70)
HSLhsl(58, 56%, 54%)
HSVhsv(58, 66%, 80%)
CMYKcmyk(0%, 2.5%, 65.5%, 20.4%)
CIE-LABlab(78.19, -13.61, 62.16)
CIE-LCHlch(78.19, 63.63, 102.35°)
OKLaboklab(80.73% -0.043 0.14)
OKLCHoklch(80.73% 0.146 107.1)
XYZxyz(45.9298, 53.5284, 13.7058)
Luminance0.5353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC646 #464BCB
analogous
#CB8346 #CBC646 #8DCB46
triadic
#CBC646 #46CBC6 #C646CB
tetradic
#CBC646 #46CB83 #464BCB #CB468D
square
#CBC646 #46CB83 #464BCB #CB468D
split-complementary
#CBC646 #468DCB #8346CB
monochromatic
#767221 #A5A12E #CBC646 #D8D576 #E6E3A6

Accessibility & contrast

On white

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

On black

11.71
#CBC646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC646
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC646#FFFFFF#000000##000000
##CBC6461.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc646;
/* rgb */ color: rgb(203, 198, 70);
/* oklch */ color: oklch(80.7% 0.146 107.1);
Tailwind
colors: {
  custom: {
    50: '#ded780',
    500: '#cbc646',
    950: '#000000',
  },
}
SCSS
$custom: #cbc646;
$custom-light: #ded780;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc646",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 70
  },
  "hsl": {
    "h": 57.744,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80726,
    "c": 0.14647,
    "h": 107.1
  },
  "luminance": 0.53527
}

Semantic roles & 50–950 ramp

primary
#CBC646
secondary
#373A7E
accent
#4EDF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC646

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

Preview Lab → · Contrast checker → · Palette generator →

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