#CBB342#CBB342

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

Color values

HEX#CBB342
RGBrgb(203, 179, 66)
HSLhsl(49, 57%, 53%)
HSVhsv(49, 67%, 80%)
CMYKcmyk(0%, 11.8%, 67.5%, 20.4%)
CIE-LABlab(73.11, -4.06, 58.54)
CIE-LCHlch(73.11, 58.68, 93.97°)
OKLaboklab(76.68% -0.0164 0.1317)
OKLCHoklch(76.68% 0.133 97.1)
XYZxyz(41.7340, 45.3321, 11.7049)
Luminance0.4533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB342 #425ACB
analogous
#CB6E42 #CBB342 #9ECB42
triadic
#CBB342 #42CBB3 #B342CB
tetradic
#CBB342 #42CB6E #425ACB #CB429E
square
#CBB342 #42CB6E #425ACB #CB429E
split-complementary
#CBB342 #429ECB #6E42CB
monochromatic
#736420 #A38E2D #CBB342 #D8C672 #E5DAA2

Accessibility & contrast

On white

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

On black

10.07
#CBB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB342
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB342#FFFFFF#000000##000000
##CBB3421.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF33
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#DBA69C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb342;
/* rgb */ color: rgb(203, 179, 66);
/* oklch */ color: oklch(76.7% 0.133 97.1);
Tailwind
colors: {
  custom: {
    50: '#dec97c',
    500: '#cbb342',
    950: '#000000',
  },
}
SCSS
$custom: #cbb342;
$custom-light: #dec97c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb342",
  "rgb": {
    "r": 203,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 49.489,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76684,
    "c": 0.13273,
    "h": 97.1
  },
  "luminance": 0.4533
}

Semantic roles & 50–950 ramp

primary
#CBB342
secondary
#97A1D2
accent
#62E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB342

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

Preview Lab → · Contrast checker → · Palette generator →

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