#CBD45B#CBD45B

#CBD45B is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 83.9% C 0.145 H 113.0°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#CBD45B
RGBrgb(203, 212, 91)
HSLhsl(64, 58%, 59%)
HSVhsv(64, 57%, 83%)
CMYKcmyk(4.2%, 0%, 57.1%, 16.9%)
CIE-LABlab(82.13, -19.18, 57.54)
CIE-LCHlch(82.13, 60.65, 108.44°)
OKLaboklab(83.93% -0.0566 0.1331)
OKLCHoklch(83.93% 0.145 113)
XYZxyz(50.0616, 60.5398, 18.9437)
Luminance0.6054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD45B #645BD4
analogous
#D4A15B #CBD45B #8FD45B
triadic
#CBD45B #5BCBD4 #D45BCB
tetradic
#CBD45B #5BD4A1 #645BD4 #D45B8F
square
#CBD45B #5BD4A1 #645BD4 #D45B8F
split-complementary
#CBD45B #5B8FD4 #A15BD4
monochromatic
#878F26 #B5C032 #CBD45B #DAE18B #EAEDBC

Accessibility & contrast

On white

1.60
#CBD45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#CBD45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD45B
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD45B#FFFFFF#000000##000000
##CBD45B1.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB4E
Deuteranopia (green-blind)
#E2CE62
Tritanopia (blue-blind)
#D7C9BA
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cbd45b;
/* rgb */ color: rgb(203, 212, 91);
/* oklch */ color: oklch(83.9% 0.145 113.0);
Tailwind
colors: {
  custom: {
    50: '#dde18e',
    500: '#cbd45b',
    950: '#000000',
  },
}
SCSS
$custom: #cbd45b;
$custom-light: #dde18e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd45b",
  "rgb": {
    "r": 203,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 64.463,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83932,
    "c": 0.14463,
    "h": 113
  },
  "luminance": 0.60539
}

Semantic roles & 50–950 ramp

primary
#CBD45B
secondary
#453E95
accent
#46E252
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CBD45B

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

Preview Lab → · Contrast checker → · Palette generator →

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