#CBB74F#CBB74F

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

Color values

HEX#CBB74F
RGBrgb(203, 183, 79)
HSLhsl(50, 54%, 55%)
HSVhsv(50, 61%, 80%)
CMYKcmyk(0%, 9.9%, 61.1%, 20.4%)
CIE-LABlab(74.27, -5.34, 54.15)
CIE-LCHlch(74.27, 54.41, 95.64°)
OKLaboklab(77.64% -0.0185 0.1244)
OKLCHoklch(77.64% 0.126 98.5)
XYZxyz(42.9751, 47.1299, 14.2289)
Luminance0.4713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB74F #4F63CB
analogous
#CB794F #CBB74F #A1CB4F
triadic
#CBB74F #4FCBB7 #B74FCB
tetradic
#CBB74F #4FCB79 #4F63CB #CB4FA1
square
#CBB74F #4FCB79 #4F63CB #CB4FA1
split-complementary
#CBB74F #4FA1CB #794FCB
monochromatic
#7B6D24 #AA9732 #CBB74F #D9CA7E #E7DEAD

Accessibility & contrast

On white

2.01
#CBB74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#CBB74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB74F
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB74F#FFFFFF#000000##000000
##CBB74F1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B344
Deuteranopia (green-blind)
#CDBA54
Tritanopia (blue-blind)
#DAABA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cbb74f;
/* rgb */ color: rgb(203, 183, 79);
/* oklch */ color: oklch(77.6% 0.126 98.5);
Tailwind
colors: {
  custom: {
    50: '#decc84',
    500: '#cbb74f',
    950: '#000000',
  },
}
SCSS
$custom: #cbb74f;
$custom-light: #decc84;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb74f",
  "rgb": {
    "r": 203,
    "g": 183,
    "b": 79
  },
  "hsl": {
    "h": 50.323,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77641,
    "c": 0.12574,
    "h": 98.5
  },
  "luminance": 0.47128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBB74F

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

Preview Lab → · Contrast checker → · Palette generator →

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