#CBC041#CBC041

#CBC041 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.4% C 0.144 H 104.3°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#CBC041
RGBrgb(203, 192, 65)
HSLhsl(55, 57%, 53%)
HSVhsv(55, 68%, 80%)
CMYKcmyk(0%, 5.4%, 68%, 20.4%)
CIE-LABlab(76.55, -10.84, 62.46)
CIE-LCHlch(76.55, 63.39, 99.85°)
OKLaboklab(79.41% -0.0358 0.1398)
OKLCHoklch(79.41% 0.144 104.3)
XYZxyz(44.4342, 50.7791, 12.4608)
Luminance0.5078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC041 #414CCB
analogous
#CB7B41 #CBC041 #91CB41
triadic
#CBC041 #41CBC0 #C041CB
tetradic
#CBC041 #41CB7B #414CCB #CB4191
square
#CBC041 #41CB7B #414CCB #CB4191
split-complementary
#CBC041 #4191CB #7B41CB
monochromatic
#726C1F #A2992C #CBC041 #D8D071 #E5E0A1

Accessibility & contrast

On white

1.88
#CBC041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#CBC041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC041
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC041#FFFFFF#000000##000000
##CBC0411.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2F
Deuteranopia (green-blind)
#D4C049
Tritanopia (blue-blind)
#DAB3A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc041;
/* rgb */ color: rgb(203, 192, 65);
/* oklch */ color: oklch(79.4% 0.144 104.3);
Tailwind
colors: {
  custom: {
    50: '#ded27d',
    500: '#cbc041',
    950: '#000000',
  },
}
SCSS
$custom: #cbc041;
$custom-light: #ded27d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc041",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 65
  },
  "hsl": {
    "h": 55.217,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79408,
    "c": 0.14433,
    "h": 104.3
  },
  "luminance": 0.50777
}

Semantic roles & 50–950 ramp

primary
#CBC041
secondary
#353B7B
accent
#54E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC041

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

Preview Lab → · Contrast checker → · Palette generator →

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