#CBBF51#CBBF51

#CBBF51 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.3% C 0.131 H 103.1°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#CBBF51
RGBrgb(203, 191, 81)
HSLhsl(54, 54%, 56%)
HSVhsv(54, 60%, 80%)
CMYKcmyk(0%, 5.9%, 60.1%, 20.4%)
CIE-LABlab(76.41, -9.35, 55.61)
CIE-LCHlch(76.41, 56.39, 99.54°)
OKLaboklab(79.34% -0.0297 0.1277)
OKLCHoklch(79.34% 0.131 103.1)
XYZxyz(44.7462, 50.5539, 15.1838)
Luminance0.5055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBF51 #515DCB
analogous
#CB8251 #CBBF51 #9ACB51
triadic
#CBBF51 #51CBBF #BF51CB
tetradic
#CBBF51 #51CB82 #515DCB #CB519A
square
#CBBF51 #51CB82 #515DCB #CB519A
split-complementary
#CBBF51 #519ACB #8251CB
monochromatic
#7C7425 #ACA033 #CBBF51 #D9D080 #E7E2AF

Accessibility & contrast

On white

1.89
#CBBF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#CBBF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBF51
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBF51#FFFFFF#000000##000000
##CBBF511.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB945
Deuteranopia (green-blind)
#D3BF57
Tritanopia (blue-blind)
#D9B3A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cbbf51;
/* rgb */ color: rgb(203, 191, 81);
/* oklch */ color: oklch(79.3% 0.131 103.1);
Tailwind
colors: {
  custom: {
    50: '#ded286',
    500: '#cbbf51',
    950: '#000000',
  },
}
SCSS
$custom: #cbbf51;
$custom-light: #ded286;
$custom-dark: #000000;
JSON
{
  "hex": "#cbbf51",
  "rgb": {
    "r": 203,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 54.098,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79341,
    "c": 0.13116,
    "h": 103.1
  },
  "luminance": 0.50552
}

Semantic roles & 50–950 ramp

primary
#CBBF51
secondary
#3C4384
accent
#59DD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBBF51

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

Preview Lab → · Contrast checker → · Palette generator →

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