#CBC841#CBC841

#CBC841 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.1% C 0.152 H 108.1°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CBC841
RGBrgb(203, 200, 65)
HSLhsl(59, 57%, 53%)
HSVhsv(59, 68%, 80%)
CMYKcmyk(0%, 1.5%, 68%, 20.4%)
CIE-LABlab(78.69, -14.89, 64.62)
CIE-LCHlch(78.69, 66.31, 102.98°)
OKLaboklab(81.12% -0.0472 0.1444)
OKLCHoklch(81.12% 0.152 108.1)
XYZxyz(46.2387, 54.3882, 13.0623)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC841 #4144CB
analogous
#CB8341 #CBC841 #89CB41
triadic
#CBC841 #41CBC8 #C841CB
tetradic
#CBC841 #41CB83 #4144CB #CB4189
square
#CBC841 #41CB83 #4144CB #CB4189
split-complementary
#CBC841 #4189CB #8341CB
monochromatic
#72711F #A2A02C #CBC841 #D8D671 #E5E4A1

Accessibility & contrast

On white

1.77
#CBC841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CBC841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC841
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC841#FFFFFF#000000##000000
##CBC8411.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02C
Deuteranopia (green-blind)
#DAC54A
Tritanopia (blue-blind)
#D9BBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc841;
/* rgb */ color: rgb(203, 200, 65);
/* oklch */ color: oklch(81.1% 0.152 108.1);
Tailwind
colors: {
  custom: {
    50: '#ded87d',
    500: '#cbc841',
    950: '#000000',
  },
}
SCSS
$custom: #cbc841;
$custom-light: #ded87d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc841",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 58.696,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81115,
    "c": 0.15189,
    "h": 108.1
  },
  "luminance": 0.54387
}

Semantic roles & 50–950 ramp

primary
#CBC841
secondary
#35367B
accent
#4BE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC841

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

Preview Lab → · Contrast checker → · Palette generator →

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