#CBC847#CBC847

#CBC847 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.2% C 0.148 H 108.0°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#CBC847
RGBrgb(203, 200, 71)
HSLhsl(59, 56%, 54%)
HSVhsv(59, 65%, 80%)
CMYKcmyk(0%, 1.5%, 65%, 20.4%)
CIE-LABlab(78.73, -14.56, 62.32)
CIE-LCHlch(78.73, 64.00, 103.15°)
OKLaboklab(81.16% -0.0456 0.1405)
OKLCHoklch(81.16% 0.148 108)
XYZxyz(46.4218, 54.4614, 14.0268)
Luminance0.5446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC847 #474ACB
analogous
#CB8647 #CBC847 #8CCB47
triadic
#CBC847 #47CBC8 #C847CB
tetradic
#CBC847 #47CB86 #474ACB #CB478C
square
#CBC847 #47CB86 #474ACB #CB478C
split-complementary
#CBC847 #478CCB #8647CB
monochromatic
#767421 #A6A32F #CBC847 #D8D677 #E6E5A6

Accessibility & contrast

On white

1.77
#CBC847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#CBC847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC847
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC847#FFFFFF#000000##000000
##CBC8471.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc847;
/* rgb */ color: rgb(203, 200, 71);
/* oklch */ color: oklch(81.2% 0.148 108.0);
Tailwind
colors: {
  custom: {
    50: '#ded881',
    500: '#cbc847',
    950: '#000000',
  },
}
SCSS
$custom: #cbc847;
$custom-light: #ded881;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc847",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 58.636,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81162,
    "c": 0.14772,
    "h": 108
  },
  "luminance": 0.5446
}

Semantic roles & 50–950 ramp

primary
#CBC847
secondary
#37397F
accent
#4CDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC847

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

Preview Lab → · Contrast checker → · Palette generator →

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