#CBB851#CBB851

#CBB851 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.9% C 0.125 H 98.9°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#CBB851
RGBrgb(203, 184, 81)
HSLhsl(51, 54%, 56%)
HSVhsv(51, 60%, 80%)
CMYKcmyk(0%, 9.4%, 60.1%, 20.4%)
CIE-LABlab(74.56, -5.73, 53.56)
CIE-LCHlch(74.56, 53.86, 96.10°)
OKLaboklab(77.87% -0.0194 0.1234)
OKLCHoklch(77.87% 0.125 98.9)
XYZxyz(43.2560, 47.5734, 14.6871)
Luminance0.4757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB851 #5164CB
analogous
#CB7B51 #CBB851 #A1CB51
triadic
#CBB851 #51CBB8 #B851CB
tetradic
#CBB851 #51CB7B #5164CB #CB51A1
square
#CBB851 #51CB7B #5164CB #CB51A1
split-complementary
#CBB851 #51A1CB #7B51CB
monochromatic
#7C6F25 #AC9933 #CBB851 #D9CB80 #E7DEAF

Accessibility & contrast

On white

2.00
#CBB851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#CBB851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB851
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB851#FFFFFF#000000##000000
##CBB8511.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B346
Deuteranopia (green-blind)
#CDBA56
Tritanopia (blue-blind)
#DAACA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cbb851;
/* rgb */ color: rgb(203, 184, 81);
/* oklch */ color: oklch(77.9% 0.125 98.9);
Tailwind
colors: {
  custom: {
    50: '#decd86',
    500: '#cbb851',
    950: '#000000',
  },
}
SCSS
$custom: #cbb851;
$custom-light: #decd86;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb851",
  "rgb": {
    "r": 203,
    "g": 184,
    "b": 81
  },
  "hsl": {
    "h": 50.656,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7787,
    "c": 0.12488,
    "h": 98.9
  },
  "luminance": 0.47572
}

Semantic roles & 50–950 ramp

primary
#CBB851
secondary
#A3AAD5
accent
#61DD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130B
muted
#84827C

Preview Lab

Preview with #CBB851

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

Preview Lab → · Contrast checker → · Palette generator →

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