#CBB947#CBB947

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

Color values

HEX#CBB947
RGBrgb(203, 185, 71)
HSLhsl(52, 56%, 54%)
HSVhsv(52, 65%, 80%)
CMYKcmyk(0%, 8.9%, 65%, 20.4%)
CIE-LABlab(74.73, -6.90, 58.14)
CIE-LCHlch(74.73, 58.55, 96.77°)
OKLaboklab(77.98% -0.0239 0.1317)
OKLCHoklch(77.98% 0.134 100.3)
XYZxyz(43.1167, 47.8512, 12.9251)
Luminance0.4785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB947 #4759CB
analogous
#CB7747 #CBB947 #9BCB47
triadic
#CBB947 #47CBB9 #B947CB
tetradic
#CBB947 #47CB77 #4759CB #CB479B
square
#CBB947 #47CB77 #4759CB #CB479B
split-complementary
#CBB947 #479BCB #7747CB
monochromatic
#766B21 #A6962F #CBB947 #D8CB77 #E6DDA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB947#FFFFFF#000000##000000
##CBB9471.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)
#CAB439
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#DAACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbb947;
/* rgb */ color: rgb(203, 185, 71);
/* oklch */ color: oklch(78.0% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#decd80',
    500: '#cbb947',
    950: '#000000',
  },
}
SCSS
$custom: #cbb947;
$custom-light: #decd80;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb947",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 71
  },
  "hsl": {
    "h": 51.818,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77981,
    "c": 0.13382,
    "h": 100.3
  },
  "luminance": 0.47849
}

Semantic roles & 50–950 ramp

primary
#CBB947
secondary
#9BA2D3
accent
#5DDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB947

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

Preview Lab → · Contrast checker → · Palette generator →

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