#CBD151#CBD151

#CBD151 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.2% C 0.150 H 111.8°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#CBD151
RGBrgb(203, 209, 81)
HSLhsl(63, 58%, 57%)
HSVhsv(63, 61%, 82%)
CMYKcmyk(2.9%, 0%, 61.2%, 18%)
CIE-LABlab(81.23, -18.42, 60.86)
CIE-LCHlch(81.23, 63.58, 106.84°)
OKLaboklab(83.19% -0.0555 0.1389)
OKLCHoklch(83.19% 0.15 111.8)
XYZxyz(48.9156, 58.8926, 16.5736)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD151 #5751D1
analogous
#D19751 #CBD151 #8BD151
triadic
#CBD151 #51CBD1 #D151CB
tetradic
#CBD151 #51D197 #5751D1 #D1518B
square
#CBD151 #51D197 #5751D1 #D1518B
split-complementary
#CBD151 #518BD1 #9751D1
monochromatic
#808523 #AFB530 #CBD151 #D9DE81 #E8EBB2

Accessibility & contrast

On white

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

On black

12.78
#CBD151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD151
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD151#FFFFFF#000000##000000
##CBD1511.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C841
Deuteranopia (green-blind)
#E1CB59
Tritanopia (blue-blind)
#D8C5B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cbd151;
/* rgb */ color: rgb(203, 209, 81);
/* oklch */ color: oklch(83.2% 0.150 111.8);
Tailwind
colors: {
  custom: {
    50: '#dede87',
    500: '#cbd151',
    950: '#000000',
  },
}
SCSS
$custom: #cbd151;
$custom-light: #dede87;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd151",
  "rgb": {
    "r": 203,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 62.813,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83186,
    "c": 0.14954,
    "h": 111.8
  },
  "luminance": 0.58892
}

Semantic roles & 50–950 ramp

primary
#CBD151
secondary
#3F3B8B
accent
#46E14E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD151

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

Preview Lab → · Contrast checker → · Palette generator →

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