#CBB145#CBB145

#CBB145 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.3% C 0.129 H 95.6°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#CBB145
RGBrgb(203, 177, 69)
HSLhsl(48, 56%, 53%)
HSVhsv(48, 66%, 80%)
CMYKcmyk(0%, 12.8%, 66%, 20.4%)
CIE-LABlab(72.61, -2.84, 56.75)
CIE-LCHlch(72.61, 56.82, 92.86°)
OKLaboklab(76.3% -0.0125 0.1284)
OKLCHoklch(76.3% 0.129 95.6)
XYZxyz(41.4269, 44.5726, 12.0504)
Luminance0.4457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB145 #455FCB
analogous
#CB6E45 #CBB145 #A2CB45
triadic
#CBB145 #45CBB1 #B145CB
tetradic
#CBB145 #45CB6E #455FCB #CB45A2
square
#CBB145 #45CB6E #455FCB #CB45A2
split-complementary
#CBB145 #45A2CB #6E45CB
monochromatic
#756521 #A58E2E #CBB145 #D8C575 #E6D9A5

Accessibility & contrast

On white

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

On black

9.91
#CBB145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB145
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB145#FFFFFF#000000##000000
##CBB1451.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbb145;
/* rgb */ color: rgb(203, 177, 69);
/* oklch */ color: oklch(76.3% 0.129 95.6);
Tailwind
colors: {
  custom: {
    50: '#dec87e',
    500: '#cbb145',
    950: '#000000',
  },
}
SCSS
$custom: #cbb145;
$custom-light: #dec87e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb145",
  "rgb": {
    "r": 203,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 48.358,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76296,
    "c": 0.12903,
    "h": 95.6
  },
  "luminance": 0.4457
}

Semantic roles & 50–950 ramp

primary
#CBB145
secondary
#99A4D3
accent
#66E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB145

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

Preview Lab → · Contrast checker → · Palette generator →

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