#CBC13B#CBC13B

#CBC13B is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.6% C 0.149 H 105.0°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#CBC13B
RGBrgb(203, 193, 59)
HSLhsl(56, 58%, 51%)
HSVhsv(56, 71%, 80%)
CMYKcmyk(0%, 4.9%, 70.9%, 20.4%)
CIE-LABlab(76.77, -11.66, 64.96)
CIE-LCHlch(76.77, 66.00, 100.18°)
OKLaboklab(79.58% -0.0387 0.1441)
OKLCHoklch(79.58% 0.149 105)
XYZxyz(44.4898, 51.1539, 11.6670)
Luminance0.5115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC13B #3B45CB
analogous
#CB793B #CBC13B #8DCB3B
triadic
#CBC13B #3BCBC1 #C13BCB
tetradic
#CBC13B #3BCB79 #3B45CB #CB3B8D
square
#CBC13B #3BCB79 #3B45CB #CB3B8D
split-complementary
#CBC13B #3B8DCB #793BCB
monochromatic
#6E691D #9F972A #CBC13B #D8D06B #E5E09C

Accessibility & contrast

On white

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

On black

11.23
#CBC13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC13B
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC13B#FFFFFF#000000##000000
##CBC13B1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA24
Deuteranopia (green-blind)
#D5C044
Tritanopia (blue-blind)
#DAB4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc13b;
/* rgb */ color: rgb(203, 193, 59);
/* oklch */ color: oklch(79.6% 0.149 105.0);
Tailwind
colors: {
  custom: {
    50: '#ded37a',
    500: '#cbc13b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc13b;
$custom-light: #ded37a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc13b",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 59
  },
  "hsl": {
    "h": 55.833,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79576,
    "c": 0.14917,
    "h": 105
  },
  "luminance": 0.51152
}

Semantic roles & 50–950 ramp

primary
#CBC13B
secondary
#333778
accent
#51E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC13B

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

Preview Lab → · Contrast checker → · Palette generator →

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