#CBC748#CBC748

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

Color values

HEX#CBC748
RGBrgb(203, 199, 72)
HSLhsl(58, 56%, 54%)
HSVhsv(58, 65%, 80%)
CMYKcmyk(0%, 2%, 64.5%, 20.4%)
CIE-LABlab(78.47, -14.00, 61.64)
CIE-LCHlch(78.47, 63.21, 102.79°)
OKLaboklab(80.96% -0.0439 0.1392)
OKLCHoklch(80.96% 0.146 107.5)
XYZxyz(46.2233, 54.0127, 14.1203)
Luminance0.5401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC748 #484CCB
analogous
#CB8648 #CBC748 #8ECB48
triadic
#CBC748 #48CBC7 #C748CB
tetradic
#CBC748 #48CB86 #484CCB #CB488E
square
#CBC748 #48CB86 #484CCB #CB488E
split-complementary
#CBC748 #488ECB #8648CB
monochromatic
#777422 #A6A32F #CBC748 #D9D678 #E6E4A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC748#FFFFFF#000000##000000
##CBC7481.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)
#D7BF37
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#D9BBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc748;
/* rgb */ color: rgb(203, 199, 72);
/* oklch */ color: oklch(81.0% 0.146 107.5);
Tailwind
colors: {
  custom: {
    50: '#ded781',
    500: '#cbc748',
    950: '#000000',
  },
}
SCSS
$custom: #cbc748;
$custom-light: #ded781;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc748",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 58.168,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80957,
    "c": 0.146,
    "h": 107.5
  },
  "luminance": 0.54011
}

Semantic roles & 50–950 ramp

primary
#CBC748
secondary
#383A7F
accent
#4DDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC748

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

Preview Lab → · Contrast checker → · Palette generator →

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