#CBCA42#CBCA42

#CBCA42 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.153 H 108.9°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CBCA42
RGBrgb(203, 202, 66)
HSLhsl(60, 57%, 53%)
HSVhsv(60, 67%, 80%)
CMYKcmyk(0%, 0.5%, 67.5%, 20.4%)
CIE-LABlab(79.23, -15.84, 64.78)
CIE-LCHlch(79.23, 66.69, 103.74°)
OKLaboklab(81.55% -0.0497 0.1449)
OKLCHoklch(81.55% 0.153 108.9)
XYZxyz(46.7341, 55.3323, 13.3716)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA42 #4243CB
analogous
#CB8542 #CBCA42 #87CB42
triadic
#CBCA42 #42CBCA #CA42CB
tetradic
#CBCA42 #42CB85 #4243CB #CB4287
square
#CBCA42 #42CB85 #4243CB #CB4287
split-complementary
#CBCA42 #4287CB #8542CB
monochromatic
#737220 #A3A22D #CBCA42 #D8D772 #E5E5A2

Accessibility & contrast

On white

1.74
#CBCA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#CBCA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA42
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA42#FFFFFF#000000##000000
##CBCA421.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#DCC64B
Tritanopia (blue-blind)
#D9BDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbca42;
/* rgb */ color: rgb(203, 202, 66);
/* oklch */ color: oklch(81.6% 0.153 108.9);
Tailwind
colors: {
  custom: {
    50: '#ded97e',
    500: '#cbca42',
    950: '#000000',
  },
}
SCSS
$custom: #cbca42;
$custom-light: #ded97e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca42",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 59.562,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81552,
    "c": 0.1532,
    "h": 108.9
  },
  "luminance": 0.55331
}

Semantic roles & 50–950 ramp

primary
#CBCA42
secondary
#35367C
accent
#49E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBCA42

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

Preview Lab → · Contrast checker → · Palette generator →

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