#CBCB4A#CBCB4A

#CBCB4A is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.8% C 0.149 H 109.3°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CBCB4A
RGBrgb(203, 203, 74)
HSLhsl(60, 55%, 54%)
HSVhsv(60, 64%, 80%)
CMYKcmyk(0%, 0%, 63.5%, 20.4%)
CIE-LABlab(79.56, -15.88, 61.97)
CIE-LCHlch(79.56, 63.97, 104.38°)
OKLaboklab(81.83% -0.0491 0.1402)
OKLCHoklch(81.83% 0.149 109.3)
XYZxyz(47.2221, 55.9041, 14.7803)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB4A #4A4ACB
analogous
#CB8B4A #CBCB4A #8BCB4A
triadic
#CBCB4A #4ACBCB #CB4ACB
tetradic
#CBCB4A #4ACB8B #4A4ACB #CB4A8B
square
#CBCB4A #4ACB8B #4A4ACB #CB4A8B
split-complementary
#CBCB4A #4A8BCB #8B4ACB
monochromatic
#787823 #A8A830 #CBCB4A #D9D97A #E6E6A9

Accessibility & contrast

On white

1.72
#CBCB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CBCB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB4A
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB4A#FFFFFF#000000##000000
##CBCB4A1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC339
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#D9BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb4a;
/* rgb */ color: rgb(203, 203, 74);
/* oklch */ color: oklch(81.8% 0.149 109.3);
Tailwind
colors: {
  custom: {
    50: '#deda83',
    500: '#cbcb4a',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb4a;
$custom-light: #deda83;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb4a",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 74
  },
  "hsl": {
    "h": 60,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81831,
    "c": 0.14856,
    "h": 109.3
  },
  "luminance": 0.55903
}

Semantic roles & 50–950 ramp

primary
#CBCB4A
secondary
#393980
accent
#49DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBCB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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