#CBB74C#CBB74C

#CBB74C is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.6% C 0.128 H 98.7°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#CBB74C
RGBrgb(203, 183, 76)
HSLhsl(51, 55%, 55%)
HSVhsv(51, 63%, 80%)
CMYKcmyk(0%, 9.9%, 62.6%, 20.4%)
CIE-LABlab(74.25, -5.54, 55.46)
CIE-LCHlch(74.25, 55.73, 95.71°)
OKLaboklab(77.61% -0.0194 0.1267)
OKLCHoklch(77.61% 0.128 98.7)
XYZxyz(42.8684, 47.0872, 13.6668)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB74C #4C60CB
analogous
#CB784C #CBB74C #A0CB4C
triadic
#CBB74C #4CCBB7 #B74CCB
tetradic
#CBB74C #4CCB78 #4C60CB #CB4CA0
square
#CBB74C #4CCB78 #4C60CB #CB4CA0
split-complementary
#CBB74C #4CA0CB #784CCB
monochromatic
#796C23 #A99631 #CBB74C #D9CA7B #E7DDAB

Accessibility & contrast

On white

2.02
#CBB74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#CBB74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB74C
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB74C#FFFFFF#000000##000000
##CBB74C1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B240
Deuteranopia (green-blind)
#CDBA51
Tritanopia (blue-blind)
#DAABA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cbb74c;
/* rgb */ color: rgb(203, 183, 76);
/* oklch */ color: oklch(77.6% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#decc82',
    500: '#cbb74c',
    950: '#000000',
  },
}
SCSS
$custom: #cbb74c;
$custom-light: #decc82;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb74c",
  "rgb": {
    "r": 203,
    "g": 183,
    "b": 76
  },
  "hsl": {
    "h": 50.551,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7761,
    "c": 0.12821,
    "h": 98.7
  },
  "luminance": 0.47085
}

Semantic roles & 50–950 ramp

primary
#CBB74C
secondary
#9FA7D4
accent
#61DE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBB74C

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

Preview Lab → · Contrast checker → · Palette generator →

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