#CBC66B#CBC66B

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

Color values

HEX#CBC66B
RGBrgb(203, 198, 107)
HSLhsl(57, 48%, 61%)
HSVhsv(57, 47%, 80%)
CMYKcmyk(0%, 2.5%, 47.3%, 20.4%)
CIE-LABlab(78.55, -10.81, 45.91)
CIE-LCHlch(78.55, 47.16, 103.25°)
OKLaboklab(81.13% -0.0311 0.1095)
OKLCHoklch(81.13% 0.114 105.9)
XYZxyz(47.4776, 54.1475, 21.8576)
Luminance0.5415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC66B #6B70CB
analogous
#CB966B #CBC66B #A0CB6B
triadic
#CBC66B #6BCBC6 #C66BCB
tetradic
#CBC66B #6BCB96 #6B70CB #CB6BA0
square
#CBC66B #6BCB96 #6B70CB #CB6BA0
split-complementary
#CBC66B #6BA0CB #966BCB
monochromatic
#8B8631 #B8B241 #CBC66B #DBD798 #EBE9C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC66B#FFFFFF#000000##000000
##CBC66B1.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)
#D4C063
Deuteranopia (green-blind)
#D6C46F
Tritanopia (blue-blind)
#D7BCB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc66b;
/* rgb */ color: rgb(203, 198, 107);
/* oklch */ color: oklch(81.1% 0.114 105.9);
Tailwind
colors: {
  custom: {
    50: '#ddd797',
    500: '#cbc66b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc66b;
$custom-light: #ddd797;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc66b",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 107
  },
  "hsl": {
    "h": 56.875,
    "s": 48,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81131,
    "c": 0.1138,
    "h": 105.9
  },
  "luminance": 0.54146
}

Semantic roles & 50–950 ramp

primary
#CBC66B
secondary
#484C92
accent
#32BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC66B

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

Preview Lab → · Contrast checker → · Palette generator →

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