#CBC941#CBC941

#CBC941 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.3% C 0.153 H 108.5°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CBC941
RGBrgb(203, 201, 65)
HSLhsl(59, 57%, 53%)
HSVhsv(59, 68%, 80%)
CMYKcmyk(0%, 1%, 68%, 20.4%)
CIE-LABlab(78.96, -15.40, 64.88)
CIE-LCHlch(78.96, 66.69, 103.35°)
OKLaboklab(81.33% -0.0486 0.145)
OKLCHoklch(81.33% 0.153 108.5)
XYZxyz(46.4710, 54.8529, 13.1397)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC941 #4143CB
analogous
#CB8441 #CBC941 #88CB41
triadic
#CBC941 #41CBC9 #C941CB
tetradic
#CBC941 #41CB84 #4143CB #CB4188
square
#CBC941 #41CB84 #4143CB #CB4188
split-complementary
#CBC941 #4188CB #8441CB
monochromatic
#72711F #A2A12C #CBC941 #D8D771 #E5E4A1

Accessibility & contrast

On white

1.75
#CBC941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CBC941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC941
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC941#FFFFFF#000000##000000
##CBC9411.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12C
Deuteranopia (green-blind)
#DBC64A
Tritanopia (blue-blind)
#D9BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc941;
/* rgb */ color: rgb(203, 201, 65);
/* oklch */ color: oklch(81.3% 0.153 108.5);
Tailwind
colors: {
  custom: {
    50: '#ded97e',
    500: '#cbc941',
    950: '#000000',
  },
}
SCSS
$custom: #cbc941;
$custom-light: #ded97e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc941",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 65
  },
  "hsl": {
    "h": 59.13,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.8133,
    "c": 0.15288,
    "h": 108.5
  },
  "luminance": 0.54851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC941

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

Preview Lab → · Contrast checker → · Palette generator →

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