#CBB946#CBB946

#CBB946 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.0% C 0.135 H 100.4°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#CBB946
RGBrgb(203, 185, 70)
HSLhsl(52, 56%, 54%)
HSVhsv(52, 66%, 80%)
CMYKcmyk(0%, 8.9%, 65.5%, 20.4%)
CIE-LABlab(74.72, -6.96, 58.55)
CIE-LCHlch(74.72, 58.96, 96.78°)
OKLaboklab(77.97% -0.0242 0.1324)
OKLCHoklch(77.97% 0.135 100.4)
XYZxyz(43.0849, 47.8385, 12.7575)
Luminance0.4784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB946 #4658CB
analogous
#CB7646 #CBB946 #9ACB46
triadic
#CBB946 #46CBB9 #B946CB
tetradic
#CBB946 #46CB76 #4658CB #CB469A
square
#CBB946 #46CB76 #4658CB #CB469A
split-complementary
#CBB946 #469ACB #7646CB
monochromatic
#766A21 #A5952E #CBB946 #D8CB76 #E6DDA6

Accessibility & contrast

On white

1.99
#CBB946 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#CBB946 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB946
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB946#FFFFFF#000000##000000
##CBB9461.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB437
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#DAACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbb946;
/* rgb */ color: rgb(203, 185, 70);
/* oklch */ color: oklch(78.0% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#decd7f',
    500: '#cbb946',
    950: '#000000',
  },
}
SCSS
$custom: #cbb946;
$custom-light: #decd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb946",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 70
  },
  "hsl": {
    "h": 51.88,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77973,
    "c": 0.13458,
    "h": 100.4
  },
  "luminance": 0.47837
}

Semantic roles & 50–950 ramp

primary
#CBB946
secondary
#9AA2D3
accent
#5DDF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB946

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

Preview Lab → · Contrast checker → · Palette generator →

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