#CBD396#CBD396

#CBD396 is a very light, moderate yellow. Relative luminance 0.615; OKLCH L 84.6% C 0.081 H 114.2°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#CBD396
RGBrgb(203, 211, 150)
HSLhsl(68, 41%, 71%)
HSVhsv(68, 29%, 83%)
CMYKcmyk(3.8%, 0%, 28.9%, 17.3%)
CIE-LABlab(82.64, -12.53, 29.38)
CIE-LCHlch(82.64, 31.94, 113.09°)
OKLaboklab(84.59% -0.0331 0.0736)
OKLCHoklch(84.59% 0.081 114.2)
XYZxyz(53.4278, 61.4875, 37.9019)
Luminance0.6149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD396 #9E96D3
analogous
#D3BC96 #CBD396 #ACD396
triadic
#CBD396 #96CBD3 #D396CB
tetradic
#CBD396 #96D3BC #9E96D3 #D396AC
square
#CBD396 #96D3BC #9E96D3 #D396AC
split-complementary
#CBD396 #96ACD3 #BC96D3
monochromatic
#9BA846 #B6C16B #CBD396 #E0E5C1 #F4F6E9

Accessibility & contrast

On white

1.58
#CBD396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#CBD396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD396
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD396#FFFFFF#000000##000000
##CBD3961.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCD92
Deuteranopia (green-blind)
#DBCE99
Tritanopia (blue-blind)
#D2CCC3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cbd396;
/* rgb */ color: rgb(203, 211, 150);
/* oklch */ color: oklch(84.6% 0.081 114.2);
Tailwind
colors: {
  custom: {
    50: '#dbe0b5',
    500: '#cbd396',
    950: '#000000',
  },
}
SCSS
$custom: #cbd396;
$custom-light: #dbe0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd396",
  "rgb": {
    "r": 203,
    "g": 211,
    "b": 150
  },
  "hsl": {
    "h": 67.869,
    "s": 40.94,
    "l": 70.784
  },
  "oklch": {
    "l": 0.84591,
    "c": 0.08068,
    "h": 114.2
  },
  "luminance": 0.61487
}

Semantic roles & 50–950 ramp

primary
#CBD396
secondary
#6D64A9
accent
#32B443
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CBD396

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

Preview Lab → · Contrast checker → · Palette generator →

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