#CBB251#CBB251

#CBB251 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.6% C 0.120 H 95.0°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#CBB251
RGBrgb(203, 178, 81)
HSLhsl(48, 54%, 56%)
HSVhsv(48, 60%, 80%)
CMYKcmyk(0%, 12.3%, 60.1%, 20.4%)
CIE-LABlab(72.98, -2.59, 51.80)
CIE-LCHlch(72.98, 51.86, 92.86°)
OKLaboklab(76.62% -0.0104 0.1196)
OKLCHoklch(76.62% 0.12 95)
XYZxyz(42.0360, 45.1334, 14.2804)
Luminance0.4513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB251 #516ACB
analogous
#CB7551 #CBB251 #A7CB51
triadic
#CBB251 #51CBB2 #B251CB
tetradic
#CBB251 #51CB75 #516ACB #CB51A7
square
#CBB251 #51CB75 #516ACB #CB51A7
split-complementary
#CBB251 #51A7CB #7551CB
monochromatic
#7C6B25 #AC9333 #CBB251 #D9C780 #E7DCAF

Accessibility & contrast

On white

2.09
#CBB251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#CBB251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB251
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB251#FFFFFF#000000##000000
##CBB2511.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF47
Deuteranopia (green-blind)
#C9B655
Tritanopia (blue-blind)
#DAA69D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb251;
/* rgb */ color: rgb(203, 178, 81);
/* oklch */ color: oklch(76.6% 0.120 95.0);
Tailwind
colors: {
  custom: {
    50: '#dec885',
    500: '#cbb251',
    950: '#000000',
  },
}
SCSS
$custom: #cbb251;
$custom-light: #dec885;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb251",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 81
  },
  "hsl": {
    "h": 47.705,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76623,
    "c": 0.12006,
    "h": 95
  },
  "luminance": 0.45131
}

Semantic roles & 50–950 ramp

primary
#CBB251
secondary
#A3ADD5
accent
#69DD4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CBB251

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

Preview Lab → · Contrast checker → · Palette generator →

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