#CBC749#CBC749

#CBC749 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.0% C 0.145 H 107.5°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CBC749
RGBrgb(203, 199, 73)
HSLhsl(58, 56%, 54%)
HSVhsv(58, 64%, 80%)
CMYKcmyk(0%, 2%, 64%, 20.4%)
CIE-LABlab(78.48, -13.94, 61.25)
CIE-LCHlch(78.48, 62.81, 102.82°)
OKLaboklab(80.97% -0.0437 0.1385)
OKLCHoklch(80.97% 0.145 107.5)
XYZxyz(46.2562, 54.0259, 14.2935)
Luminance0.5402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC749 #494DCB
analogous
#CB8649 #CBC749 #8ECB49
triadic
#CBC749 #49CBC7 #C749CB
tetradic
#CBC749 #49CB86 #494DCB #CB498E
square
#CBC749 #49CB86 #494DCB #CB498E
split-complementary
#CBC749 #498ECB #8649CB
monochromatic
#777522 #A7A330 #CBC749 #D9D679 #E6E4A8

Accessibility & contrast

On white

1.78
#CBC749 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#CBC749 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC749
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC749#FFFFFF#000000##000000
##CBC7491.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C039
Deuteranopia (green-blind)
#D9C451
Tritanopia (blue-blind)
#D9BBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc749;
/* rgb */ color: rgb(203, 199, 73);
/* oklch */ color: oklch(81.0% 0.145 107.5);
Tailwind
colors: {
  custom: {
    50: '#ded782',
    500: '#cbc749',
    950: '#000000',
  },
}
SCSS
$custom: #cbc749;
$custom-light: #ded782;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc749",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 73
  },
  "hsl": {
    "h": 58.154,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80965,
    "c": 0.14526,
    "h": 107.5
  },
  "luminance": 0.54024
}

Semantic roles & 50–950 ramp

primary
#CBC749
secondary
#383A80
accent
#4EDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC749

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

Preview Lab → · Contrast checker → · Palette generator →

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