#CBB04F#CBB04F

#CBB04F is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.120 H 93.8°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#CBB04F
RGBrgb(203, 176, 79)
HSLhsl(47, 54%, 55%)
HSVhsv(47, 61%, 80%)
CMYKcmyk(0%, 13.3%, 61.1%, 20.4%)
CIE-LABlab(72.44, -1.67, 52.11)
CIE-LCHlch(72.44, 52.14, 91.84°)
OKLaboklab(76.19% -0.008 0.12)
OKLCHoklch(76.19% 0.12 93.8)
XYZxyz(41.5671, 44.3138, 13.7596)
Luminance0.4431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB04F #4F6ACB
analogous
#CB724F #CBB04F #A8CB4F
triadic
#CBB04F #4FCBB0 #B04FCB
tetradic
#CBB04F #4FCB72 #4F6ACB #CB4FA8
square
#CBB04F #4FCB72 #4F6ACB #CB4FA8
split-complementary
#CBB04F #4FA8CB #724FCB
monochromatic
#7B6824 #AA9032 #CBB04F #D9C57E #E7DAAD

Accessibility & contrast

On white

2.13
#CBB04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#CBB04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB04F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB04F#FFFFFF#000000##000000
##CBB04F1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD45
Deuteranopia (green-blind)
#C8B553
Tritanopia (blue-blind)
#DAA49B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cbb04f;
/* rgb */ color: rgb(203, 176, 79);
/* oklch */ color: oklch(76.2% 0.120 93.8);
Tailwind
colors: {
  custom: {
    50: '#dec784',
    500: '#cbb04f',
    950: '#000000',
  },
}
SCSS
$custom: #cbb04f;
$custom-light: #dec784;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb04f",
  "rgb": {
    "r": 203,
    "g": 176,
    "b": 79
  },
  "hsl": {
    "h": 46.935,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76188,
    "c": 0.12028,
    "h": 93.8
  },
  "luminance": 0.44312
}

Semantic roles & 50–950 ramp

primary
#CBB04F
secondary
#A1ACD5
accent
#6ADE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBB04F

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

Preview Lab → · Contrast checker → · Palette generator →

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