#CBB140#CBB140

#CBB140 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.133 H 96.0°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#CBB140
RGBrgb(203, 177, 64)
HSLhsl(49, 57%, 52%)
HSVhsv(49, 68%, 80%)
CMYKcmyk(0%, 12.8%, 68.5%, 20.4%)
CIE-LABlab(72.57, -3.12, 58.81)
CIE-LCHlch(72.57, 58.89, 93.04°)
OKLaboklab(76.25% -0.0139 0.132)
OKLCHoklch(76.25% 0.133 96)
XYZxyz(41.2782, 44.5131, 11.2671)
Luminance0.4451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB140 #405ACB
analogous
#CB6C40 #CBB140 #A0CB40
triadic
#CBB140 #40CBB1 #B140CB
tetradic
#CBB140 #40CB6C #405ACB #CB40A0
square
#CBB140 #40CB6C #405ACB #CB40A0
split-complementary
#CBB140 #40A0CB #6C40CB
monochromatic
#72621F #A28C2C #CBB140 #D8C570 #E5D8A0

Accessibility & contrast

On white

2.12
#CBB140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#CBB140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB140
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB140#FFFFFF#000000##000000
##CBB1401.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD31
Deuteranopia (green-blind)
#C9B646
Tritanopia (blue-blind)
#DBA49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cbb140;
/* rgb */ color: rgb(203, 177, 64);
/* oklch */ color: oklch(76.3% 0.133 96.0);
Tailwind
colors: {
  custom: {
    50: '#dec87b',
    500: '#cbb140',
    950: '#000000',
  },
}
SCSS
$custom: #cbb140;
$custom-light: #dec87b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb140",
  "rgb": {
    "r": 203,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 48.777,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76252,
    "c": 0.13268,
    "h": 96
  },
  "luminance": 0.44511
}

Semantic roles & 50–950 ramp

primary
#CBB140
secondary
#95A0D2
accent
#64E047
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB140

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

Preview Lab → · Contrast checker → · Palette generator →

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