#CBD542#CBD542

#CBD542 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 83.9% C 0.165 H 113.3°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#CBD542
RGBrgb(203, 213, 66)
HSLhsl(64, 64%, 55%)
HSVhsv(64, 69%, 84%)
CMYKcmyk(4.7%, 0%, 69%, 16.5%)
CIE-LABlab(82.21, -21.27, 67.75)
CIE-LCHlch(82.21, 71.01, 107.43°)
OKLaboklab(83.93% -0.065 0.1511)
OKLCHoklch(83.93% 0.165 113.3)
XYZxyz(49.4077, 60.6794, 14.2628)
Luminance0.6068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD542 #4C42D5
analogous
#D59642 #CBD542 #81D542
triadic
#CBD542 #42CBD5 #D542CB
tetradic
#CBD542 #42D596 #4C42D5 #D54281
square
#CBD542 #42D596 #4C42D5 #D54281
split-complementary
#CBD542 #4281D5 #9642D5
monochromatic
#79801C #A9B228 #CBD542 #D9E074 #E7EBA6

Accessibility & contrast

On white

1.60
#CBD542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#CBD542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD542
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD542#FFFFFF#000000##000000
##CBD5421.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB2A
Deuteranopia (green-blind)
#E4CE4D
Tritanopia (blue-blind)
#D8C8B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cbd542;
/* rgb */ color: rgb(203, 213, 66);
/* oklch */ color: oklch(83.9% 0.165 113.3);
Tailwind
colors: {
  custom: {
    50: '#dee17f',
    500: '#cbd542',
    950: '#000000',
  },
}
SCSS
$custom: #cbd542;
$custom-light: #dee17f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd542",
  "rgb": {
    "r": 203,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 64.082,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8393,
    "c": 0.16451,
    "h": 113.3
  },
  "luminance": 0.60678
}

Semantic roles & 50–950 ramp

primary
#CBD542
secondary
#3A3487
accent
#41E74C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBD542

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

Preview Lab → · Contrast checker → · Palette generator →

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