#CBD161#CBD161

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

Color values

HEX#CBD161
RGBrgb(203, 209, 97)
HSLhsl(63, 55%, 60%)
HSVhsv(63, 54%, 82%)
CMYKcmyk(2.9%, 0%, 53.6%, 18%)
CIE-LABlab(81.38, -17.23, 53.99)
CIE-LCHlch(81.38, 56.67, 107.70°)
OKLaboklab(83.35% -0.0504 0.1262)
OKLCHoklch(83.35% 0.136 111.8)
XYZxyz(49.5878, 59.1615, 20.1141)
Luminance0.5916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD161 #6761D1
analogous
#D19F61 #CBD161 #93D161
triadic
#CBD161 #61CBD1 #D161CB
tetradic
#CBD161 #61D19F #6761D1 #D16193
square
#CBD161 #61D19F #6761D1 #D16193
split-complementary
#CBD161 #6193D1 #9F61D1
monochromatic
#898E29 #B6BE37 #CBD161 #DBDF90 #EAEDC0

Accessibility & contrast

On white

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

On black

12.83
#CBD161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD161
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD161#FFFFFF#000000##000000
##CBD1611.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbd161;
/* rgb */ color: rgb(203, 209, 97);
/* oklch */ color: oklch(83.4% 0.136 111.8);
Tailwind
colors: {
  custom: {
    50: '#dddf91',
    500: '#cbd161',
    950: '#000000',
  },
}
SCSS
$custom: #cbd161;
$custom-light: #dddf91;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd161",
  "rgb": {
    "r": 203,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 63.214,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.83351,
    "c": 0.13587,
    "h": 111.8
  },
  "luminance": 0.59161
}

Semantic roles & 50–950 ramp

primary
#CBD161
secondary
#464294
accent
#4ADE52
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CBD161

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

Preview Lab → · Contrast checker → · Palette generator →

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