#CBB74D#CBB74D

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

Color values

HEX#CBB74D
RGBrgb(203, 183, 77)
HSLhsl(50, 55%, 55%)
HSVhsv(50, 62%, 80%)
CMYKcmyk(0%, 9.9%, 62.1%, 20.4%)
CIE-LABlab(74.25, -5.48, 55.02)
CIE-LCHlch(74.25, 55.30, 95.69°)
OKLaboklab(77.62% -0.0191 0.126)
OKLCHoklch(77.62% 0.127 98.6)
XYZxyz(42.9034, 47.1012, 13.8513)
Luminance0.4710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB74D #4D61CB
analogous
#CB784D #CBB74D #A0CB4D
triadic
#CBB74D #4DCBB7 #B74DCB
tetradic
#CBB74D #4DCB78 #4D61CB #CB4DA0
square
#CBB74D #4DCB78 #4D61CB #CB4DA0
split-complementary
#CBB74D #4DA0CB #784DCB
monochromatic
#7A6C24 #A99631 #CBB74D #D9CA7C #E7DDAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB74D#FFFFFF#000000##000000
##CBB74D1.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)
#C7B341
Deuteranopia (green-blind)
#CDBA52
Tritanopia (blue-blind)
#DAABA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cbb74d;
/* rgb */ color: rgb(203, 183, 77);
/* oklch */ color: oklch(77.6% 0.127 98.6);
Tailwind
colors: {
  custom: {
    50: '#decc83',
    500: '#cbb74d',
    950: '#000000',
  },
}
SCSS
$custom: #cbb74d;
$custom-light: #decc83;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb74d",
  "rgb": {
    "r": 203,
    "g": 183,
    "b": 77
  },
  "hsl": {
    "h": 50.476,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7762,
    "c": 0.1274,
    "h": 98.6
  },
  "luminance": 0.47099
}

Semantic roles & 50–950 ramp

primary
#CBB74D
secondary
#9FA8D4
accent
#61DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBB74D

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

Preview Lab → · Contrast checker → · Palette generator →

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