#CBB84F#CBB84F

#CBB84F is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.8% C 0.127 H 99.1°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#CBB84F
RGBrgb(203, 184, 79)
HSLhsl(51, 54%, 55%)
HSVhsv(51, 61%, 80%)
CMYKcmyk(0%, 9.4%, 61.1%, 20.4%)
CIE-LABlab(74.54, -5.86, 54.44)
CIE-LCHlch(74.54, 54.76, 96.15°)
OKLaboklab(77.85% -0.02 0.125)
OKLCHoklch(77.85% 0.127 99.1)
XYZxyz(43.1821, 47.5439, 14.2979)
Luminance0.4754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB84F #4F62CB
analogous
#CB7A4F #CBB84F #A0CB4F
triadic
#CBB84F #4FCBB8 #B84FCB
tetradic
#CBB84F #4FCB7A #4F62CB #CB4FA0
square
#CBB84F #4FCB7A #4F62CB #CB4FA0
split-complementary
#CBB84F #4FA0CB #7A4FCB
monochromatic
#7B6E24 #AA9832 #CBB84F #D9CB7E #E7DEAD

Accessibility & contrast

On white

2.00
#CBB84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#CBB84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB84F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB84F#FFFFFF#000000##000000
##CBB84F1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B343
Deuteranopia (green-blind)
#CEBA54
Tritanopia (blue-blind)
#DAACA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cbb84f;
/* rgb */ color: rgb(203, 184, 79);
/* oklch */ color: oklch(77.8% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#decd84',
    500: '#cbb84f',
    950: '#000000',
  },
}
SCSS
$custom: #cbb84f;
$custom-light: #decd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb84f",
  "rgb": {
    "r": 203,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 50.806,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77849,
    "c": 0.12658,
    "h": 99.1
  },
  "luminance": 0.47542
}

Semantic roles & 50–950 ramp

primary
#CBB84F
secondary
#A1A9D5
accent
#61DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CBB84F

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

Preview Lab → · Contrast checker → · Palette generator →

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