#CBBA51#CBBA51

#CBBA51 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.3% C 0.127 H 100.2°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#CBBA51
RGBrgb(203, 186, 81)
HSLhsl(52, 54%, 56%)
HSVhsv(52, 60%, 80%)
CMYKcmyk(0%, 8.4%, 60.1%, 20.4%)
CIE-LABlab(75.08, -6.77, 54.15)
CIE-LCHlch(75.08, 54.57, 97.12°)
OKLaboklab(78.29% -0.0224 0.1246)
OKLCHoklch(78.29% 0.127 100.2)
XYZxyz(43.6744, 48.4102, 14.8266)
Luminance0.4841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBA51 #5162CB
analogous
#CB7D51 #CBBA51 #9FCB51
triadic
#CBBA51 #51CBBA #BA51CB
tetradic
#CBBA51 #51CB7D #5162CB #CB519F
square
#CBBA51 #51CB7D #5162CB #CB519F
split-complementary
#CBBA51 #519FCB #7D51CB
monochromatic
#7C7025 #AC9B33 #CBBA51 #D9CD80 #E7DFAF

Accessibility & contrast

On white

1.97
#CBBA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#CBBA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBA51
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBA51#FFFFFF#000000##000000
##CBBA511.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB546
Deuteranopia (green-blind)
#CFBC56
Tritanopia (blue-blind)
#D9AEA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cbba51;
/* rgb */ color: rgb(203, 186, 81);
/* oklch */ color: oklch(78.3% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#dece86',
    500: '#cbba51',
    950: '#000000',
  },
}
SCSS
$custom: #cbba51;
$custom-light: #dece86;
$custom-dark: #000000;
JSON
{
  "hex": "#cbba51",
  "rgb": {
    "r": 203,
    "g": 186,
    "b": 81
  },
  "hsl": {
    "h": 51.639,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78289,
    "c": 0.12661,
    "h": 100.2
  },
  "luminance": 0.48408
}

Semantic roles & 50–950 ramp

primary
#CBBA51
secondary
#A3AAD5
accent
#5FDD4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130B
muted
#84827C

Preview Lab

Preview with #CBBA51

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

Preview Lab → · Contrast checker → · Palette generator →

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