#CBC150#CBC150

#CBC150 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.8% C 0.134 H 104.3°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#CBC150
RGBrgb(203, 193, 80)
HSLhsl(55, 54%, 55%)
HSVhsv(55, 61%, 80%)
CMYKcmyk(0%, 4.9%, 60.6%, 20.4%)
CIE-LABlab(76.93, -10.44, 56.63)
CIE-LCHlch(76.93, 57.58, 100.45°)
OKLaboklab(79.75% -0.033 0.1298)
OKLCHoklch(79.75% 0.134 104.3)
XYZxyz(45.1481, 51.4172, 15.1342)
Luminance0.5142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC150 #505ACB
analogous
#CB8350 #CBC150 #97CB50
triadic
#CBC150 #50CBC1 #C150CB
tetradic
#CBC150 #50CB83 #505ACB #CB5097
square
#CBC150 #50CB83 #505ACB #CB5097
split-complementary
#CBC150 #5097CB #8350CB
monochromatic
#7C7525 #ABA133 #CBC150 #D9D27F #E7E2AE

Accessibility & contrast

On white

1.86
#CBC150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#CBC150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC150
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC150#FFFFFF#000000##000000
##CBC1501.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB43
Deuteranopia (green-blind)
#D4C056
Tritanopia (blue-blind)
#D9B5A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc150;
/* rgb */ color: rgb(203, 193, 80);
/* oklch */ color: oklch(79.8% 0.134 104.3);
Tailwind
colors: {
  custom: {
    50: '#ded386',
    500: '#cbc150',
    950: '#000000',
  },
}
SCSS
$custom: #cbc150;
$custom-light: #ded386;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc150",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 55.122,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79753,
    "c": 0.13389,
    "h": 104.3
  },
  "luminance": 0.51416
}

Semantic roles & 50–950 ramp

primary
#CBC150
secondary
#3B4184
accent
#56DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC150

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

Preview Lab → · Contrast checker → · Palette generator →

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