#CBB94F#CBB94F

#CBB94F is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.1% C 0.127 H 99.7°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CBB94F
RGBrgb(203, 185, 79)
HSLhsl(51, 54%, 55%)
HSVhsv(51, 61%, 80%)
CMYKcmyk(0%, 8.9%, 61.1%, 20.4%)
CIE-LABlab(74.80, -6.38, 54.73)
CIE-LCHlch(74.80, 55.10, 96.65°)
OKLaboklab(78.06% -0.0215 0.1256)
OKLCHoklch(78.06% 0.127 99.7)
XYZxyz(43.3906, 47.9608, 14.3674)
Luminance0.4796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB94F #4F61CB
analogous
#CB7B4F #CBB94F #9FCB4F
triadic
#CBB94F #4FCBB9 #B94FCB
tetradic
#CBB94F #4FCB7B #4F61CB #CB4F9F
square
#CBB94F #4FCB7B #4F61CB #CB4F9F
split-complementary
#CBB94F #4F9FCB #7B4FCB
monochromatic
#7B6F24 #AA9932 #CBB94F #D9CC7E #E7DFAD

Accessibility & contrast

On white

1.98
#CBB94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#CBB94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB94F
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB94F#FFFFFF#000000##000000
##CBB94F1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B443
Deuteranopia (green-blind)
#CEBB54
Tritanopia (blue-blind)
#DAADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbb94f;
/* rgb */ color: rgb(203, 185, 79);
/* oklch */ color: oklch(78.1% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#decd84',
    500: '#cbb94f',
    950: '#000000',
  },
}
SCSS
$custom: #cbb94f;
$custom-light: #decd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb94f",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 79
  },
  "hsl": {
    "h": 51.29,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78059,
    "c": 0.12743,
    "h": 99.7
  },
  "luminance": 0.47959
}

Semantic roles & 50–950 ramp

primary
#CBB94F
secondary
#A1A9D5
accent
#5FDE4A
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CBB94F

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

Preview Lab → · Contrast checker → · Palette generator →

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