#CBB142#CBB142

#CBB142 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.131 H 95.8°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#CBB142
RGBrgb(203, 177, 66)
HSLhsl(49, 57%, 53%)
HSVhsv(49, 67%, 80%)
CMYKcmyk(0%, 12.8%, 67.5%, 20.4%)
CIE-LABlab(72.59, -3.01, 58.00)
CIE-LCHlch(72.59, 58.08, 92.97°)
OKLaboklab(76.27% -0.0134 0.1306)
OKLCHoklch(76.27% 0.131 95.8)
XYZxyz(41.3361, 44.5363, 11.5723)
Luminance0.4453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB142 #425CCB
analogous
#CB6C42 #CBB142 #A0CB42
triadic
#CBB142 #42CBB1 #B142CB
tetradic
#CBB142 #42CB6C #425CCB #CB42A0
square
#CBB142 #42CB6C #425CCB #CB42A0
split-complementary
#CBB142 #42A0CB #6C42CB
monochromatic
#736320 #A38D2D #CBB142 #D8C572 #E5D9A2

Accessibility & contrast

On white

2.12
#CBB142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#CBB142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB142
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB142#FFFFFF#000000##000000
##CBB1421.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD34
Deuteranopia (green-blind)
#C9B648
Tritanopia (blue-blind)
#DBA49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cbb142;
/* rgb */ color: rgb(203, 177, 66);
/* oklch */ color: oklch(76.3% 0.131 95.8);
Tailwind
colors: {
  custom: {
    50: '#dec87c',
    500: '#cbb142',
    950: '#000000',
  },
}
SCSS
$custom: #cbb142;
$custom-light: #dec87c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb142",
  "rgb": {
    "r": 203,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 48.613,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76269,
    "c": 0.13125,
    "h": 95.8
  },
  "luminance": 0.44534
}

Semantic roles & 50–950 ramp

primary
#CBB142
secondary
#97A2D2
accent
#65E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB142

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

Preview Lab → · Contrast checker → · Palette generator →

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