#CBC66D#CBC66D

#CBC66D is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.112 H 105.8°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CBC66D
RGBrgb(203, 198, 109)
HSLhsl(57, 47%, 61%)
HSVhsv(57, 46%, 80%)
CMYKcmyk(0%, 2.5%, 46.3%, 20.4%)
CIE-LABlab(78.57, -10.62, 44.96)
CIE-LCHlch(78.57, 46.20, 103.29°)
OKLaboklab(81.16% -0.0304 0.1075)
OKLCHoklch(81.16% 0.112 105.8)
XYZxyz(47.5841, 54.1901, 22.4182)
Luminance0.5419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC66D #6D72CB
analogous
#CB976D #CBC66D #A1CB6D
triadic
#CBC66D #6DCBC6 #C66DCB
tetradic
#CBC66D #6DCB97 #6D72CB #CB6DA1
square
#CBC66D #6DCB97 #6D72CB #CB6DA1
split-complementary
#CBC66D #6DA1CB #976DCB
monochromatic
#8C8732 #B9B342 #CBC66D #DBD89A #EBE9C7

Accessibility & contrast

On white

1.77
#CBC66D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CBC66D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC66D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC66D#FFFFFF#000000##000000
##CBC66D1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc66d;
/* rgb */ color: rgb(203, 198, 109);
/* oklch */ color: oklch(81.2% 0.112 105.8);
Tailwind
colors: {
  custom: {
    50: '#dcd799',
    500: '#cbc66d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc66d;
$custom-light: #dcd799;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc66d",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 109
  },
  "hsl": {
    "h": 56.809,
    "s": 47.475,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81158,
    "c": 0.11172,
    "h": 105.8
  },
  "luminance": 0.54189
}

Semantic roles & 50–950 ramp

primary
#CBC66D
secondary
#4A4D93
accent
#32BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC66D

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

Preview Lab → · Contrast checker → · Palette generator →

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