#CBB240#CBB240

#CBB240 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.5% C 0.133 H 96.6°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#CBB240
RGBrgb(203, 178, 64)
HSLhsl(49, 57%, 52%)
HSVhsv(49, 68%, 80%)
CMYKcmyk(0%, 12.3%, 68.5%, 20.4%)
CIE-LABlab(72.83, -3.65, 59.08)
CIE-LCHlch(72.83, 59.19, 93.53°)
OKLaboklab(76.46% -0.0154 0.1325)
OKLCHoklch(76.46% 0.133 96.6)
XYZxyz(41.4764, 44.9096, 11.3332)
Luminance0.4491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB240 #4059CB
analogous
#CB6D40 #CBB240 #9ECB40
triadic
#CBB240 #40CBB2 #B240CB
tetradic
#CBB240 #40CB6D #4059CB #CB409E
square
#CBB240 #40CB6D #4059CB #CB409E
split-complementary
#CBB240 #409ECB #6D40CB
monochromatic
#72631F #A28D2C #CBB240 #D8C570 #E5D9A0

Accessibility & contrast

On white

2.10
#CBB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#CBB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB240
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB240#FFFFFF#000000##000000
##CBB2401.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE31
Deuteranopia (green-blind)
#CAB646
Tritanopia (blue-blind)
#DBA59B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb240;
/* rgb */ color: rgb(203, 178, 64);
/* oklch */ color: oklch(76.5% 0.133 96.6);
Tailwind
colors: {
  custom: {
    50: '#dec87b',
    500: '#cbb240',
    950: '#000000',
  },
}
SCSS
$custom: #cbb240;
$custom-light: #dec87b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb240",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 49.209,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76459,
    "c": 0.13341,
    "h": 96.6
  },
  "luminance": 0.44907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBB240

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

Preview Lab → · Contrast checker → · Palette generator →

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