#CBC792#CBC792

#CBC792 is a light, moderate yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.070 H 104.2°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CBC792
RGBrgb(203, 199, 146)
HSLhsl(56, 35%, 68%)
HSVhsv(56, 28%, 80%)
CMYKcmyk(0%, 2%, 28.1%, 20.4%)
CIE-LABlab(79.40, -6.92, 27.11)
CIE-LCHlch(79.40, 27.98, 104.32°)
OKLaboklab(81.99% -0.0172 0.0681)
OKLCHoklch(81.99% 0.07 104.2)
XYZxyz(50.2405, 55.6196, 35.2776)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC792 #9296CB
analogous
#CBAA92 #CBC792 #B2CB92
triadic
#CBC792 #92CBC7 #C792CB
tetradic
#CBC792 #92CBAA #9296CB #CB92B2
square
#CBC792 #92CBAA #9296CB #CB92B2
split-complementary
#CBC792 #92B2CB #AA92CB
monochromatic
#999449 #B7B269 #CBC792 #DFDCBB #F3F2E5

Accessibility & contrast

On white

1.73
#CBC792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#CBC792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC792
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC792#FFFFFF#000000##000000
##CBC7921.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C38F
Deuteranopia (green-blind)
#D2C694
Tritanopia (blue-blind)
#D3C0B9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbc792;
/* rgb */ color: rgb(203, 199, 146);
/* oklch */ color: oklch(82.0% 0.070 104.2);
Tailwind
colors: {
  custom: {
    50: '#dbd7b2',
    500: '#cbc792',
    950: '#000000',
  },
}
SCSS
$custom: #cbc792;
$custom-light: #dbd7b2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc792",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 146
  },
  "hsl": {
    "h": 55.789,
    "s": 35.404,
    "l": 68.431
  },
  "oklch": {
    "l": 0.81995,
    "c": 0.07025,
    "h": 104.2
  },
  "luminance": 0.55619
}

Semantic roles & 50–950 ramp

primary
#CBC792
secondary
#6166A0
accent
#40AE37
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381

Preview Lab

Preview with #CBC792

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

Preview Lab → · Contrast checker → · Palette generator →

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