#CBC26B#CBC26B

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

Color values

HEX#CBC26B
RGBrgb(203, 194, 107)
HSLhsl(54, 48%, 61%)
HSVhsv(54, 47%, 80%)
CMYKcmyk(0%, 4.4%, 47.3%, 20.4%)
CIE-LABlab(77.49, -8.76, 44.62)
CIE-LCHlch(77.49, 45.47, 101.11°)
OKLaboklab(80.29% -0.0252 0.1066)
OKLCHoklch(80.29% 0.11 103.3)
XYZxyz(46.5754, 52.3430, 21.5568)
Luminance0.5234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC26B #6B74CB
analogous
#CB926B #CBC26B #A4CB6B
triadic
#CBC26B #6BCBC2 #C26BCB
tetradic
#CBC26B #6BCB92 #6B74CB #CB6BA4
square
#CBC26B #6BCB92 #6B74CB #CB6BA4
split-complementary
#CBC26B #6BA4CB #926BCB
monochromatic
#8B8231 #B8AD41 #CBC26B #DBD598 #EBE7C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC26B#FFFFFF#000000##000000
##CBC26B1.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)
#D0BD64
Deuteranopia (green-blind)
#D3C26F
Tritanopia (blue-blind)
#D7B8AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc26b;
/* rgb */ color: rgb(203, 194, 107);
/* oklch */ color: oklch(80.3% 0.110 103.3);
Tailwind
colors: {
  custom: {
    50: '#ddd497',
    500: '#cbc26b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc26b;
$custom-light: #ddd497;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc26b",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 107
  },
  "hsl": {
    "h": 54.375,
    "s": 48,
    "l": 60.784
  },
  "oklch": {
    "l": 0.80287,
    "c": 0.10956,
    "h": 103.3
  },
  "luminance": 0.52342
}

Semantic roles & 50–950 ramp

primary
#CBC26B
secondary
#484F92
accent
#38BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC26B

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

Preview Lab → · Contrast checker → · Palette generator →

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