#CBC66A#CBC66A

#CBC66A is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.115 H 105.9°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CBC66A
RGBrgb(203, 198, 106)
HSLhsl(57, 48%, 61%)
HSVhsv(57, 48%, 80%)
CMYKcmyk(0%, 2.5%, 47.8%, 20.4%)
CIE-LABlab(78.54, -10.90, 46.38)
CIE-LCHlch(78.54, 47.65, 103.23°)
OKLaboklab(81.12% -0.0315 0.1104)
OKLCHoklch(81.12% 0.115 105.9)
XYZxyz(47.4253, 54.1266, 21.5821)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC66A #6A6FCB
analogous
#CB956A #CBC66A #9FCB6A
triadic
#CBC66A #6ACBC6 #C66ACB
tetradic
#CBC66A #6ACB95 #6A6FCB #CB6A9F
square
#CBC66A #6ACB95 #6A6FCB #CB6A9F
split-complementary
#CBC66A #6A9FCB #956ACB
monochromatic
#8A8630 #B8B240 #CBC66A #DBD797 #EBE9C5

Accessibility & contrast

On white

1.78
#CBC66A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CBC66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC66A
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC66A#FFFFFF#000000##000000
##CBC66A1.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C062
Deuteranopia (green-blind)
#D6C46E
Tritanopia (blue-blind)
#D7BCB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc66a;
/* rgb */ color: rgb(203, 198, 106);
/* oklch */ color: oklch(81.1% 0.115 105.9);
Tailwind
colors: {
  custom: {
    50: '#ddd797',
    500: '#cbc66a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc66a;
$custom-light: #ddd797;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc66a",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 106
  },
  "hsl": {
    "h": 56.907,
    "s": 48.259,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81117,
    "c": 0.11482,
    "h": 105.9
  },
  "luminance": 0.54125
}

Semantic roles & 50–950 ramp

primary
#CBC66A
secondary
#484C91
accent
#31BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC66A

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

Preview Lab → · Contrast checker → · Palette generator →

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