#CBB334#CBB334

#CBB334 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.6% C 0.142 H 98.1°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CBB334
RGBrgb(203, 179, 52)
HSLhsl(50, 59%, 50%)
HSVhsv(50, 74%, 80%)
CMYKcmyk(0%, 11.8%, 74.4%, 20.4%)
CIE-LABlab(73.01, -4.76, 63.87)
CIE-LCHlch(73.01, 64.05, 94.26°)
OKLaboklab(76.58% -0.0199 0.1405)
OKLCHoklch(76.58% 0.142 98.1)
XYZxyz(41.3706, 45.1868, 9.7910)
Luminance0.4518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB334 #344CCB
analogous
#CB6834 #CBB334 #97CB34
triadic
#CBB334 #34CBB3 #B334CB
tetradic
#CBB334 #34CB68 #344CCB #CB3497
square
#CBB334 #34CB68 #344CCB #CB3497
split-complementary
#CBB334 #3497CB #6834CB
monochromatic
#6A5D1B #9A8828 #CBB334 #D7C565 #E4D795

Accessibility & contrast

On white

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

On black

10.04
#CBB334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB334
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB334#FFFFFF#000000##000000
##CBB3341.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF1D
Deuteranopia (green-blind)
#CBB73C
Tritanopia (blue-blind)
#DBA59A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb334;
/* rgb */ color: rgb(203, 179, 52);
/* oklch */ color: oklch(76.6% 0.142 98.1);
Tailwind
colors: {
  custom: {
    50: '#dfc975',
    500: '#cbb334',
    950: '#000000',
  },
}
SCSS
$custom: #cbb334;
$custom-light: #dfc975;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb334",
  "rgb": {
    "r": 203,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 50.464,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.76578,
    "c": 0.14188,
    "h": 98.1
  },
  "luminance": 0.45185
}

Semantic roles & 50–950 ramp

primary
#CBB334
secondary
#8C96CF
accent
#5EE245
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CBB334

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

Preview Lab → · Contrast checker → · Palette generator →

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