#CBC146#CBC146

#CBC146 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.7% C 0.142 H 104.7°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#CBC146
RGBrgb(203, 193, 70)
HSLhsl(55, 56%, 54%)
HSVhsv(55, 66%, 80%)
CMYKcmyk(0%, 4.9%, 65.5%, 20.4%)
CIE-LABlab(76.85, -11.07, 60.77)
CIE-LCHlch(76.85, 61.77, 100.33°)
OKLaboklab(79.66% -0.0359 0.1371)
OKLCHoklch(79.66% 0.142 104.7)
XYZxyz(44.8058, 51.2803, 13.3311)
Luminance0.5128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC146 #4650CB
analogous
#CB7E46 #CBC146 #92CB46
triadic
#CBC146 #46CBC1 #C146CB
tetradic
#CBC146 #46CB7E #4650CB #CB4692
square
#CBC146 #46CB7E #4650CB #CB4692
split-complementary
#CBC146 #4692CB #7E46CB
monochromatic
#766F21 #A59C2E #CBC146 #D8D176 #E6E1A6

Accessibility & contrast

On white

1.87
#CBC146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#CBC146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC146
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC146#FFFFFF#000000##000000
##CBC1461.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA36
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#DAB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc146;
/* rgb */ color: rgb(203, 193, 70);
/* oklch */ color: oklch(79.7% 0.142 104.7);
Tailwind
colors: {
  custom: {
    50: '#ded380',
    500: '#cbc146',
    950: '#000000',
  },
}
SCSS
$custom: #cbc146;
$custom-light: #ded380;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc146",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 55.489,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79661,
    "c": 0.1417,
    "h": 104.7
  },
  "luminance": 0.51279
}

Semantic roles & 50–950 ramp

primary
#CBC146
secondary
#373C7E
accent
#54DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC146

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

Preview Lab → · Contrast checker → · Palette generator →

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