#CBD162#CBD162

#CBD162 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.4% C 0.135 H 111.8°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#CBD162
RGBrgb(203, 209, 98)
HSLhsl(63, 55%, 60%)
HSVhsv(63, 53%, 82%)
CMYKcmyk(2.9%, 0%, 53.1%, 18%)
CIE-LABlab(81.39, -17.14, 53.55)
CIE-LCHlch(81.39, 56.22, 107.75°)
OKLaboklab(83.36% -0.0501 0.1253)
OKLCHoklch(83.36% 0.135 111.8)
XYZxyz(49.6348, 59.1803, 20.3612)
Luminance0.5918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD162 #6862D1
analogous
#D19F62 #CBD162 #94D162
triadic
#CBD162 #62CBD1 #D162CB
tetradic
#CBD162 #62D19F #6862D1 #D16294
square
#CBD162 #62D19F #6862D1 #D16294
split-complementary
#CBD162 #6294D1 #9F62D1
monochromatic
#898F2A #B7BE38 #CBD162 #DBDF91 #EAEDC1

Accessibility & contrast

On white

1.64
#CBD162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#CBD162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD162
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD162#FFFFFF#000000##000000
##CBD1621.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC957
Deuteranopia (green-blind)
#DFCC68
Tritanopia (blue-blind)
#D7C6B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cbd162;
/* rgb */ color: rgb(203, 209, 98);
/* oklch */ color: oklch(83.4% 0.135 111.8);
Tailwind
colors: {
  custom: {
    50: '#dddf92',
    500: '#cbd162',
    950: '#000000',
  },
}
SCSS
$custom: #cbd162;
$custom-light: #dddf92;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd162",
  "rgb": {
    "r": 203,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 63.243,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83363,
    "c": 0.13494,
    "h": 111.8
  },
  "luminance": 0.59179
}

Semantic roles & 50–950 ramp

primary
#CBD162
secondary
#474295
accent
#23C22C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CBD162

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

Preview Lab → · Contrast checker → · Palette generator →

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