#CBB951#CBB951

#CBB951 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.1% C 0.126 H 99.6°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#CBB951
RGBrgb(203, 185, 81)
HSLhsl(51, 54%, 56%)
HSVhsv(51, 60%, 80%)
CMYKcmyk(0%, 8.9%, 60.1%, 20.4%)
CIE-LABlab(74.82, -6.25, 53.85)
CIE-LCHlch(74.82, 54.21, 96.62°)
OKLaboklab(78.08% -0.0209 0.124)
OKLCHoklch(78.08% 0.126 99.6)
XYZxyz(43.4645, 47.9903, 14.7566)
Luminance0.4799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB951 #5163CB
analogous
#CB7C51 #CBB951 #A0CB51
triadic
#CBB951 #51CBB9 #B951CB
tetradic
#CBB951 #51CB7C #5163CB #CB51A0
square
#CBB951 #51CB7C #5163CB #CB51A0
split-complementary
#CBB951 #51A0CB #7C51CB
monochromatic
#7C7025 #AC9A33 #CBB951 #D9CC80 #E7DFAF

Accessibility & contrast

On white

1.98
#CBB951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#CBB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB951
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB951#FFFFFF#000000##000000
##CBB9511.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B446
Deuteranopia (green-blind)
#CEBB56
Tritanopia (blue-blind)
#DAADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbb951;
/* rgb */ color: rgb(203, 185, 81);
/* oklch */ color: oklch(78.1% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#decd86',
    500: '#cbb951',
    950: '#000000',
  },
}
SCSS
$custom: #cbb951;
$custom-light: #decd86;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb951",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 51.148,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78079,
    "c": 0.12575,
    "h": 99.6
  },
  "luminance": 0.47989
}

Semantic roles & 50–950 ramp

primary
#CBB951
secondary
#A3AAD5
accent
#60DD4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130B
muted
#84827C

Preview Lab

Preview with #CBB951

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

Preview Lab → · Contrast checker → · Palette generator →

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