#CBD334#CBD334

#CBD334 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.4% C 0.170 H 112.5°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#CBD334
RGBrgb(203, 211, 52)
HSLhsl(63, 64%, 52%)
HSVhsv(63, 75%, 83%)
CMYKcmyk(3.8%, 0%, 75.4%, 17.3%)
CIE-LABlab(81.58, -20.95, 71.88)
CIE-LCHlch(81.58, 74.87, 106.25°)
OKLaboklab(83.41% -0.0653 0.1575)
OKLCHoklch(83.41% 0.17 112.5)
XYZxyz(48.5443, 59.5341, 12.1822)
Luminance0.5953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD334 #3C34D3
analogous
#D38C34 #CBD334 #7CD334
triadic
#CBD334 #34CBD3 #D334CB
tetradic
#CBD334 #34D38C #3C34D3 #D3347C
square
#CBD334 #34D38C #3C34D3 #D3347C
split-complementary
#CBD334 #347CD3 #8C34D3
monochromatic
#6F7419 #9FA624 #CBD334 #D8DE66 #E5E999

Accessibility & contrast

On white

1.63
#CBD334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#CBD334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD334
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD334#FFFFFF#000000##000000
##CBD3341.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C908
Deuteranopia (green-blind)
#E4CC42
Tritanopia (blue-blind)
#D9C6B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbd334;
/* rgb */ color: rgb(203, 211, 52);
/* oklch */ color: oklch(83.4% 0.170 112.5);
Tailwind
colors: {
  custom: {
    50: '#dfe078',
    500: '#cbd334',
    950: '#000000',
  },
}
SCSS
$custom: #cbd334;
$custom-light: #dfe078;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd334",
  "rgb": {
    "r": 203,
    "g": 211,
    "b": 52
  },
  "hsl": {
    "h": 63.019,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.83406,
    "c": 0.17049,
    "h": 112.5
  },
  "luminance": 0.59533
}

Semantic roles & 50–950 ramp

primary
#CBD334
secondary
#332F7C
accent
#40E749
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CBD334

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

Preview Lab → · Contrast checker → · Palette generator →

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