#CBCC4A#CBCC4A

#CBCC4A is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.0% C 0.150 H 109.7°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#CBCC4A
RGBrgb(203, 204, 74)
HSLhsl(60, 56%, 55%)
HSVhsv(60, 64%, 80%)
CMYKcmyk(0.5%, 0%, 63.7%, 20%)
CIE-LABlab(79.83, -16.38, 62.25)
CIE-LCHlch(79.83, 64.37, 104.74°)
OKLaboklab(82.05% -0.0504 0.1408)
OKLCHoklch(82.05% 0.15 109.7)
XYZxyz(47.4590, 56.3779, 14.8593)
Luminance0.5638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC4A #4B4ACC
analogous
#CC8C4A #CBCC4A #8ACC4A
triadic
#CBCC4A #4ACBCC #CC4ACB
tetradic
#CBCC4A #4ACC8C #4B4ACC #CC4A8A
square
#CBCC4A #4ACC8C #4B4ACC #CC4A8A
split-complementary
#CBCC4A #4A8ACC #8C4ACC
monochromatic
#797922 #A8A930 #CBCC4A #D9D97A #E6E7A9

Accessibility & contrast

On white

1.71
#CBCC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#CBCC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC4A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC4A#FFFFFF#000000##000000
##CBCC4A1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC439
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#D9C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcc4a;
/* rgb */ color: rgb(203, 204, 74);
/* oklch */ color: oklch(82.0% 0.150 109.7);
Tailwind
colors: {
  custom: {
    50: '#dedb83',
    500: '#cbcc4a',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc4a;
$custom-light: #dedb83;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc4a",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 60.462,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82046,
    "c": 0.14958,
    "h": 109.7
  },
  "luminance": 0.56377
}

Semantic roles & 50–950 ramp

primary
#CBCC4A
secondary
#393982
accent
#48DF4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBCC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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