#CBC147#CBC147

#CBC147 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.7% C 0.141 H 104.6°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#CBC147
RGBrgb(203, 193, 71)
HSLhsl(55, 56%, 54%)
HSVhsv(55, 65%, 80%)
CMYKcmyk(0%, 4.9%, 65%, 20.4%)
CIE-LABlab(76.86, -11.01, 60.37)
CIE-LCHlch(76.86, 61.37, 100.34°)
OKLaboklab(79.67% -0.0356 0.1364)
OKLCHoklch(79.67% 0.141 104.6)
XYZxyz(44.8376, 51.2930, 13.4987)
Luminance0.5129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC147 #4751CB
analogous
#CB7F47 #CBC147 #93CB47
triadic
#CBC147 #47CBC1 #C147CB
tetradic
#CBC147 #47CB7F #4751CB #CB4793
square
#CBC147 #47CB7F #4751CB #CB4793
split-complementary
#CBC147 #4793CB #7F47CB
monochromatic
#767021 #A69D2F #CBC147 #D8D177 #E6E1A6

Accessibility & contrast

On white

1.87
#CBC147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#CBC147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC147
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC147#FFFFFF#000000##000000
##CBC1471.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA37
Deuteranopia (green-blind)
#D5C04E
Tritanopia (blue-blind)
#DAB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc147;
/* rgb */ color: rgb(203, 193, 71);
/* oklch */ color: oklch(79.7% 0.141 104.6);
Tailwind
colors: {
  custom: {
    50: '#ded380',
    500: '#cbc147',
    950: '#000000',
  },
}
SCSS
$custom: #cbc147;
$custom-light: #ded380;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc147",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 71
  },
  "hsl": {
    "h": 55.455,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7967,
    "c": 0.14096,
    "h": 104.6
  },
  "luminance": 0.51291
}

Semantic roles & 50–950 ramp

primary
#CBC147
secondary
#373D7F
accent
#54DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC147

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

Preview Lab → · Contrast checker → · Palette generator →

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