#CBB340#CBB340

#CBB340 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.7% C 0.134 H 97.2°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#CBB340
RGBrgb(203, 179, 64)
HSLhsl(50, 57%, 52%)
HSVhsv(50, 68%, 80%)
CMYKcmyk(0%, 11.8%, 68.5%, 20.4%)
CIE-LABlab(73.09, -4.17, 59.35)
CIE-LCHlch(73.09, 59.49, 94.02°)
OKLaboklab(76.67% -0.0169 0.1331)
OKLCHoklch(76.67% 0.134 97.2)
XYZxyz(41.6761, 45.3089, 11.3998)
Luminance0.4531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB340 #4058CB
analogous
#CB6D40 #CBB340 #9ECB40
triadic
#CBB340 #40CBB3 #B340CB
tetradic
#CBB340 #40CB6D #4058CB #CB409E
square
#CBB340 #40CB6D #4058CB #CB409E
split-complementary
#CBB340 #409ECB #6D40CB
monochromatic
#72631F #A28D2C #CBB340 #D8C670 #E5D9A0

Accessibility & contrast

On white

2.09
#CBB340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#CBB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB340
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB340#FFFFFF#000000##000000
##CBB3401.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF30
Deuteranopia (green-blind)
#CBB746
Tritanopia (blue-blind)
#DBA69B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb340;
/* rgb */ color: rgb(203, 179, 64);
/* oklch */ color: oklch(76.7% 0.134 97.2);
Tailwind
colors: {
  custom: {
    50: '#dec97b',
    500: '#cbb340',
    950: '#000000',
  },
}
SCSS
$custom: #cbb340;
$custom-light: #dec97b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb340",
  "rgb": {
    "r": 203,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 49.64,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76667,
    "c": 0.13416,
    "h": 97.2
  },
  "luminance": 0.45307
}

Semantic roles & 50–950 ramp

primary
#CBB340
secondary
#95A0D2
accent
#62E047
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB340

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

Preview Lab → · Contrast checker → · Palette generator →

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