#CBC046#CBC046

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

Color values

HEX#CBC046
RGBrgb(203, 192, 70)
HSLhsl(55, 56%, 54%)
HSVhsv(55, 66%, 80%)
CMYKcmyk(0%, 5.4%, 65.5%, 20.4%)
CIE-LABlab(76.58, -10.56, 60.50)
CIE-LCHlch(76.58, 61.41, 99.90°)
OKLaboklab(79.45% -0.0344 0.1365)
OKLCHoklch(79.45% 0.141 104.2)
XYZxyz(44.5855, 50.8397, 13.2577)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC046 #4651CB
analogous
#CB7D46 #CBC046 #93CB46
triadic
#CBC046 #46CBC0 #C046CB
tetradic
#CBC046 #46CB7D #4651CB #CB4693
square
#CBC046 #46CB7D #4651CB #CB4693
split-complementary
#CBC046 #4693CB #7D46CB
monochromatic
#766F21 #A59B2E #CBC046 #D8D076 #E6E1A6

Accessibility & contrast

On white

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

On black

11.17
#CBC046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC046
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC046#FFFFFF#000000##000000
##CBC0461.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA36
Deuteranopia (green-blind)
#D4C04D
Tritanopia (blue-blind)
#DAB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc046;
/* rgb */ color: rgb(203, 192, 70);
/* oklch */ color: oklch(79.4% 0.141 104.2);
Tailwind
colors: {
  custom: {
    50: '#ded280',
    500: '#cbc046',
    950: '#000000',
  },
}
SCSS
$custom: #cbc046;
$custom-light: #ded280;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc046",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 55.038,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79449,
    "c": 0.14078,
    "h": 104.2
  },
  "luminance": 0.50838
}

Semantic roles & 50–950 ramp

primary
#CBC046
secondary
#373D7E
accent
#55DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC046

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

Preview Lab → · Contrast checker → · Palette generator →

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