#CBC747#CBC747

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

Color values

HEX#CBC747
RGBrgb(203, 199, 71)
HSLhsl(58, 56%, 54%)
HSVhsv(58, 65%, 80%)
CMYKcmyk(0%, 2%, 65%, 20.4%)
CIE-LABlab(78.46, -14.06, 62.04)
CIE-LCHlch(78.46, 63.61, 102.77°)
OKLaboklab(80.95% -0.0442 0.1399)
OKLCHoklch(80.95% 0.147 107.5)
XYZxyz(46.1910, 53.9998, 13.9498)
Luminance0.5400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC747 #474BCB
analogous
#CB8547 #CBC747 #8DCB47
triadic
#CBC747 #47CBC7 #C747CB
tetradic
#CBC747 #47CB85 #474BCB #CB478D
square
#CBC747 #47CB85 #474BCB #CB478D
split-complementary
#CBC747 #478DCB #8547CB
monochromatic
#767421 #A6A22F #CBC747 #D8D677 #E6E4A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC747#FFFFFF#000000##000000
##CBC7471.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)
#D7BF36
Deuteranopia (green-blind)
#D9C44F
Tritanopia (blue-blind)
#D9BBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc747;
/* rgb */ color: rgb(203, 199, 71);
/* oklch */ color: oklch(80.9% 0.147 107.5);
Tailwind
colors: {
  custom: {
    50: '#ded781',
    500: '#cbc747',
    950: '#000000',
  },
}
SCSS
$custom: #cbc747;
$custom-light: #ded781;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc747",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 71
  },
  "hsl": {
    "h": 58.182,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80948,
    "c": 0.14673,
    "h": 107.5
  },
  "luminance": 0.53998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC747

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

Preview Lab → · Contrast checker → · Palette generator →

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