#CBCD40#CBCD40

#CBCD40 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.2% C 0.158 H 110.2°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#CBCD40
RGBrgb(203, 205, 64)
HSLhsl(61, 59%, 53%)
HSVhsv(61, 69%, 80%)
CMYKcmyk(1%, 0%, 68.8%, 19.6%)
CIE-LABlab(80.03, -17.44, 66.32)
CIE-LCHlch(80.03, 68.58, 104.74°)
OKLaboklab(82.18% -0.0544 0.1478)
OKLCHoklch(82.18% 0.158 110.2)
XYZxyz(47.3869, 56.7306, 13.3034)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCD40 #4240CD
analogous
#CD8840 #CBCD40 #84CD40
triadic
#CBCD40 #40CBCD #CD40CB
tetradic
#CBCD40 #40CD88 #4240CD #CD4084
square
#CBCD40 #40CD88 #4240CD #CD4084
split-complementary
#CBCD40 #4084CD #8840CD
monochromatic
#73741E #A3A52B #CBCD40 #D8DA71 #E5E6A1

Accessibility & contrast

On white

1.70
#CBCD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#CBCD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCD40
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCD40#FFFFFF#000000##000000
##CBCD401.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbcd40;
/* rgb */ color: rgb(203, 205, 64);
/* oklch */ color: oklch(82.2% 0.158 110.2);
Tailwind
colors: {
  custom: {
    50: '#dedc7d',
    500: '#cbcd40',
    950: '#000000',
  },
}
SCSS
$custom: #cbcd40;
$custom-light: #dedc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcd40",
  "rgb": {
    "r": 203,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 60.851,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82183,
    "c": 0.15752,
    "h": 110.2
  },
  "luminance": 0.56729
}

Semantic roles & 50–950 ramp

primary
#CBCD40
secondary
#35347D
accent
#46E248
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CBCD40

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

Preview Lab → · Contrast checker → · Palette generator →

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