#CBC26C#CBC26C

#CBC26C is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.109 H 103.2°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CBC26C
RGBrgb(203, 194, 108)
HSLhsl(54, 48%, 61%)
HSVhsv(54, 47%, 80%)
CMYKcmyk(0%, 4.4%, 46.8%, 20.4%)
CIE-LABlab(77.50, -8.67, 44.14)
CIE-LCHlch(77.50, 44.98, 101.11°)
OKLaboklab(80.3% -0.0249 0.1056)
OKLCHoklch(80.3% 0.109 103.2)
XYZxyz(46.6283, 52.3642, 21.8355)
Luminance0.5236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC26C #6C75CB
analogous
#CB926C #CBC26C #A4CB6C
triadic
#CBC26C #6CCBC2 #C26CCB
tetradic
#CBC26C #6CCB92 #6C75CB #CB6CA4
square
#CBC26C #6CCB92 #6C75CB #CB6CA4
split-complementary
#CBC26C #6CA4CB #926CCB
monochromatic
#8B8331 #B9AD41 #CBC26C #DBD599 #EBE8C6

Accessibility & contrast

On white

1.83
#CBC26C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CBC26C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC26C
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC26C#FFFFFF#000000##000000
##CBC26C1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD65
Deuteranopia (green-blind)
#D3C270
Tritanopia (blue-blind)
#D7B8AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc26c;
/* rgb */ color: rgb(203, 194, 108);
/* oklch */ color: oklch(80.3% 0.109 103.2);
Tailwind
colors: {
  custom: {
    50: '#dcd498',
    500: '#cbc26c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc26c;
$custom-light: #dcd498;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc26c",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 108
  },
  "hsl": {
    "h": 54.316,
    "s": 47.739,
    "l": 60.98
  },
  "oklch": {
    "l": 0.80301,
    "c": 0.10851,
    "h": 103.2
  },
  "luminance": 0.52363
}

Semantic roles & 50–950 ramp

primary
#CBC26C
secondary
#495092
accent
#38BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC26C

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

Preview Lab → · Contrast checker → · Palette generator →

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