#CBB43B#CBB43B

#CBB43B is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.8% C 0.138 H 98.2°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#CBB43B
RGBrgb(203, 180, 59)
HSLhsl(50, 58%, 51%)
HSVhsv(50, 71%, 80%)
CMYKcmyk(0%, 11.3%, 70.9%, 20.4%)
CIE-LABlab(73.32, -4.96, 61.56)
CIE-LCHlch(73.32, 61.76, 94.60°)
OKLaboklab(76.84% -0.0197 0.1369)
OKLCHoklch(76.84% 0.138 98.2)
XYZxyz(41.7413, 45.6569, 10.7508)
Luminance0.4566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB43B #3B52CB
analogous
#CB6C3B #CBB43B #9ACB3B
triadic
#CBB43B #3BCBB4 #B43BCB
tetradic
#CBB43B #3BCB6C #3B52CB #CB3B9A
square
#CBB43B #3BCB6C #3B52CB #CB3B9A
split-complementary
#CBB43B #3B9ACB #6C3BCB
monochromatic
#6E611D #9F8C2A #CBB43B #D8C76B #E5D99C

Accessibility & contrast

On white

2.07
#CBB43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#CBB43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB43B
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB43B#FFFFFF#000000##000000
##CBB43B1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B029
Deuteranopia (green-blind)
#CCB742
Tritanopia (blue-blind)
#DBA79C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cbb43b;
/* rgb */ color: rgb(203, 180, 59);
/* oklch */ color: oklch(76.8% 0.138 98.2);
Tailwind
colors: {
  custom: {
    50: '#dfca78',
    500: '#cbb43b',
    950: '#000000',
  },
}
SCSS
$custom: #cbb43b;
$custom-light: #dfca78;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb43b",
  "rgb": {
    "r": 203,
    "g": 180,
    "b": 59
  },
  "hsl": {
    "h": 50.417,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76836,
    "c": 0.13831,
    "h": 98.2
  },
  "luminance": 0.45655
}

Semantic roles & 50–950 ramp

primary
#CBB43B
secondary
#919BD1
accent
#5FE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CBB43B

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

Preview Lab → · Contrast checker → · Palette generator →

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