#CBD342#CBD342

#CBD342 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.5% C 0.162 H 112.5°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#CBD342
RGBrgb(203, 211, 66)
HSLhsl(63, 62%, 54%)
HSVhsv(63, 69%, 83%)
CMYKcmyk(3.8%, 0%, 68.7%, 17.3%)
CIE-LABlab(81.66, -20.30, 67.21)
CIE-LCHlch(81.66, 70.21, 106.80°)
OKLaboklab(83.49% -0.0622 0.15)
OKLCHoklch(83.49% 0.162 112.5)
XYZxyz(48.9077, 59.6795, 14.0961)
Luminance0.5968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD342 #4A42D3
analogous
#D39242 #CBD342 #83D342
triadic
#CBD342 #42CBD3 #D342CB
tetradic
#CBD342 #42D392 #4A42D3 #D34283
square
#CBD342 #42D392 #4A42D3 #D34283
split-complementary
#CBD342 #4283D3 #9242D3
monochromatic
#787D1D #A8AF29 #CBD342 #D9DF74 #E6EAA5

Accessibility & contrast

On white

1.62
#CBD342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#CBD342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD342
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD342#FFFFFF#000000##000000
##CBD3421.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C92A
Deuteranopia (green-blind)
#E3CD4D
Tritanopia (blue-blind)
#D8C6B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbd342;
/* rgb */ color: rgb(203, 211, 66);
/* oklch */ color: oklch(83.5% 0.162 112.5);
Tailwind
colors: {
  custom: {
    50: '#dee07f',
    500: '#cbd342',
    950: '#000000',
  },
}
SCSS
$custom: #cbd342;
$custom-light: #dee07f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd342",
  "rgb": {
    "r": 203,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 63.31,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83495,
    "c": 0.16241,
    "h": 112.5
  },
  "luminance": 0.59678
}

Semantic roles & 50–950 ramp

primary
#CBD342
secondary
#393485
accent
#42E54B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBD342

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

Preview Lab → · Contrast checker → · Palette generator →

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