#CBCB47#CBCB47

#CBCB47 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.8% C 0.151 H 109.3°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#CBCB47
RGBrgb(203, 203, 71)
HSLhsl(60, 56%, 54%)
HSVhsv(60, 65%, 80%)
CMYKcmyk(0%, 0%, 65%, 20.4%)
CIE-LABlab(79.54, -16.06, 63.15)
CIE-LCHlch(79.54, 65.16, 104.27°)
OKLaboklab(81.81% -0.0499 0.1423)
OKLCHoklch(81.81% 0.151 109.3)
XYZxyz(47.1234, 55.8647, 14.2607)
Luminance0.5586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB47 #4747CB
analogous
#CB8947 #CBCB47 #89CB47
triadic
#CBCB47 #47CBCB #CB47CB
tetradic
#CBCB47 #47CB89 #4747CB #CB4789
square
#CBCB47 #47CB89 #4747CB #CB4789
split-complementary
#CBCB47 #4789CB #8947CB
monochromatic
#767621 #A6A62F #CBCB47 #D8D877 #E6E6A6

Accessibility & contrast

On white

1.73
#CBCB47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#CBCB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB47
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB47#FFFFFF#000000##000000
##CBCB471.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC335
Deuteranopia (green-blind)
#DCC750
Tritanopia (blue-blind)
#D9BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb47;
/* rgb */ color: rgb(203, 203, 71);
/* oklch */ color: oklch(81.8% 0.151 109.3);
Tailwind
colors: {
  custom: {
    50: '#deda81',
    500: '#cbcb47',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb47;
$custom-light: #deda81;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb47",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 71
  },
  "hsl": {
    "h": 60,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81806,
    "c": 0.15074,
    "h": 109.3
  },
  "luminance": 0.55863
}

Semantic roles & 50–950 ramp

primary
#CBCB47
secondary
#37377F
accent
#49DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBCB47

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

Preview Lab → · Contrast checker → · Palette generator →

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