#CBB45F#CBB45F

#CBB45F is a light, moderate yellow. Relative luminance 0.462; OKLCH L 77.2% C 0.109 H 94.5°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#CBB45F
RGBrgb(203, 180, 95)
HSLhsl(47, 51%, 58%)
HSVhsv(47, 53%, 80%)
CMYKcmyk(0%, 11.3%, 53.2%, 20.4%)
CIE-LABlab(73.65, -2.55, 45.90)
CIE-LCHlch(73.65, 45.97, 93.18°)
OKLaboklab(77.21% -0.0086 0.1084)
OKLCHoklch(77.21% 0.109 94.5)
XYZxyz(43.0170, 46.1671, 17.4695)
Luminance0.4617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB45F #5F76CB
analogous
#CB7E5F #CBB45F #ACCB5F
triadic
#CBB45F #5FCBB4 #B45FCB
tetradic
#CBB45F #5FCB7E #5F76CB #CB5FAC
square
#CBB45F #5FCB7E #5F76CB #CB5FAC
split-complementary
#CBB45F #5FACCB #7E5FCB
monochromatic
#85712B #B3993A #CBB45F #DACA8D #E9DFBB

Accessibility & contrast

On white

2.05
#CBB45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#CBB45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB45F
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB45F#FFFFFF#000000##000000
##CBB45F1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B157
Deuteranopia (green-blind)
#C9B862
Tritanopia (blue-blind)
#D9A9A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cbb45f;
/* rgb */ color: rgb(203, 180, 95);
/* oklch */ color: oklch(77.2% 0.109 94.5);
Tailwind
colors: {
  custom: {
    50: '#ddca8e',
    500: '#cbb45f',
    950: '#000000',
  },
}
SCSS
$custom: #cbb45f;
$custom-light: #ddca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb45f",
  "rgb": {
    "r": 203,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 47.222,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.77205,
    "c": 0.10875,
    "h": 94.5
  },
  "luminance": 0.46165
}

Semantic roles & 50–950 ramp

primary
#CBB45F
secondary
#ADB7D8
accent
#6BDA4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB45F

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

Preview Lab → · Contrast checker → · Palette generator →

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