#CBD962#CBD962

#CBD962 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.1% C 0.144 H 115.1°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#CBD962
RGBrgb(203, 217, 98)
HSLhsl(67, 61%, 62%)
HSVhsv(67, 55%, 85%)
CMYKcmyk(6.5%, 0%, 54.8%, 14.9%)
CIE-LABlab(83.55, -21.08, 56.03)
CIE-LCHlch(83.55, 59.86, 110.62°)
OKLaboklab(85.09% -0.0612 0.1306)
OKLCHoklch(85.09% 0.144 115.1)
XYZxyz(51.6470, 63.2048, 21.0319)
Luminance0.6320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD962 #7062D9
analogous
#D9AC62 #CBD962 #90D962
triadic
#CBD962 #62CBD9 #D962CB
tetradic
#CBD962 #62D9AC #7062D9 #D96290
square
#CBD962 #62D9AC #7062D9 #D96290
split-complementary
#CBD962 #6290D9 #AC62D9
monochromatic
#8D9B26 #BACC31 #CBD962 #DBE593 #ECF1C5

Accessibility & contrast

On white

1.54
#CBD962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#CBD962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD962
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD962#FFFFFF#000000##000000
##CBD9621.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF56
Deuteranopia (green-blind)
#E6D169
Tritanopia (blue-blind)
#D6CEBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cbd962;
/* rgb */ color: rgb(203, 217, 98);
/* oklch */ color: oklch(85.1% 0.144 115.1);
Tailwind
colors: {
  custom: {
    50: '#dde492',
    500: '#cbd962',
    950: '#000000',
  },
}
SCSS
$custom: #cbd962;
$custom-light: #dde492;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd962",
  "rgb": {
    "r": 203,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 67.059,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85089,
    "c": 0.14428,
    "h": 115.1
  },
  "luminance": 0.63204
}

Semantic roles & 50–950 ramp

primary
#CBD962
secondary
#4B409F
accent
#1DC931
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CBD962

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

Preview Lab → · Contrast checker → · Palette generator →

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